forked from home-assistant/core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate automation services to support translations (home-assistant#9…
…6306) * Migrate automation services to support translations * Apply suggestions from code review Co-authored-by: c0ffeeca7 <[email protected]> --------- Co-authored-by: c0ffeeca7 <[email protected]>
- Loading branch information
Showing
2 changed files
with
34 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,32 @@ | ||
# Describes the format for available automation services | ||
turn_on: | ||
name: Turn on | ||
description: Enable an automation. | ||
target: | ||
entity: | ||
domain: automation | ||
|
||
turn_off: | ||
name: Turn off | ||
description: Disable an automation. | ||
target: | ||
entity: | ||
domain: automation | ||
fields: | ||
stop_actions: | ||
name: Stop actions | ||
description: Stop currently running actions. | ||
default: true | ||
selector: | ||
boolean: | ||
|
||
toggle: | ||
name: Toggle | ||
description: Toggle (enable / disable) an automation. | ||
target: | ||
entity: | ||
domain: automation | ||
|
||
trigger: | ||
name: Trigger | ||
description: Trigger the actions of an automation. | ||
target: | ||
entity: | ||
domain: automation | ||
fields: | ||
skip_condition: | ||
name: Skip conditions | ||
description: Whether or not the conditions will be skipped. | ||
default: true | ||
selector: | ||
boolean: | ||
|
||
reload: | ||
name: Reload | ||
description: Reload the automation configuration. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters