Skip to content

Commit

Permalink
Rename 'service' to 'action' following Home Assistant 2024.8 (#805)
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck authored Aug 6, 2024
1 parent f8f0335 commit 250e167
Show file tree
Hide file tree
Showing 51 changed files with 2,725 additions and 2,714 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ async def async_inspect(self) -> None:
)
LOGGER.debug(
(
"Spook found unknown service calls in %s "
"and created an issue for it; Services: %s",
"Spook found unknown action calls in %s "
"and created an issue for it; Actions: %s",
),
entity.entity_id,
", ".join(unknown_services),
Expand Down
14 changes: 7 additions & 7 deletions custom_components/spook/services.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
boo:
name: Boo! πŸ‘»
description: >-
Calling this service spooks Home Assistant.
The service call will always fail.
Calling this action spooks Home Assistant.
Performing this action will always fail.
random_fail:
name: Random fail πŸ‘»
description: A call to this service will randomly fail.
description: Performing this action will randomly fail.

blueprint_import:
name: Import blueprint πŸ‘»
Expand Down Expand Up @@ -701,7 +701,7 @@ homeassistant_delete_all_orphaned_entities:
**WARNING** Entities might have been marked orphaned because an
integration is offline or not working since Home Assistant started. Calling
this service will delete those entities as well.
this action will delete those entities as well.
homeassistant_list_orphaned_database_entities:
name: List all orphaned database entities πŸ‘»
Expand All @@ -710,7 +710,7 @@ homeassistant_list_orphaned_database_entities:
homeassistant_restart:
name: Restart πŸ‘»
description: Restart the Home Assistant service.
description: Restart the Home Assistant action.
fields:
safe_mode:
name: Safe mode
Expand Down Expand Up @@ -1057,8 +1057,8 @@ repairs_ignore_all:
repairs_remove:
name: Remove issue πŸ‘»
description: >-
Removes a manually created Home Assistant repairs issue. This service
can only remove issues created with the `repairs_create` service.
Removes a manually created Home Assistant repairs issue. This action
can only remove issues created with the `repairs_create` action.
fields:
issue_id:
name: Issue ID
Expand Down
Loading

0 comments on commit 250e167

Please sign in to comment.