mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-13 20:36:52 +00:00
automation YAML: rename 'service' to 'action' (#33797)
This commit is contained in:
parent
a9a0d917e2
commit
fa7cd2831a
@ -114,12 +114,12 @@ action:
|
||||
|
||||
### Automation modes
|
||||
|
||||
Mode | Description
|
||||
-|-
|
||||
`single` | Do not start a new run. Issue a warning.
|
||||
`restart` | Start a new run after first stopping previous run.
|
||||
`queued` | Start a new run after all previous runs complete. Runs are guaranteed to execute in the order they were queued.
|
||||
`parallel` | Start a new, independent run in parallel with previous runs.
|
||||
| Mode | Description |
|
||||
| ---------- | --------------------------------------------------------------------------------------------------------------- |
|
||||
| `single` | Do not start a new run. Issue a warning. |
|
||||
| `restart` | Start a new run after first stopping previous run. |
|
||||
| `queued` | Start a new run after all previous runs complete. Runs are guaranteed to execute in the order they were queued. |
|
||||
| `parallel` | Start a new, independent run in parallel with previous runs. |
|
||||
|
||||
<p class='img'>
|
||||
<img src='/images/integrations/script/script_modes.jpg'>
|
||||
@ -157,7 +157,7 @@ automation my_lights:
|
||||
after: "16:00:00"
|
||||
before: "23:00:00"
|
||||
action:
|
||||
# With a single service call, we don't need a '-' before service - though you can if you want to
|
||||
# With a single service entry, we don't need a '-' before service - though you can if you want to
|
||||
- service: homeassistant.turn_on
|
||||
target:
|
||||
entity_id: group.living_room
|
||||
@ -265,6 +265,6 @@ If you want to migrate your manual automations to use the editor, you'll have to
|
||||
|
||||
When automations remain visible in the Home Assistant dashboard, even after having deleted in the YAML file, you have to delete them in the UI.
|
||||
|
||||
To delete them completely, go to UI **{% my entities title="Settings -> Devices & Services -> Entities" %}** and find the automation in the search field or by scrolling down.
|
||||
To delete them completely, go to UI {% my entities title="**Settings** > **Devices & services** > **Entities**" %} and find the automation in the search field or by scrolling down.
|
||||
|
||||
Check the square box aside of the automation you wish to delete and from the top-right of your screen, select 'REMOVE SELECTED'.
|
||||
|
Loading…
x
Reference in New Issue
Block a user