A couple small fixes for 'service' to 'action' renames in automations (#35074)

This commit is contained in:
Colin Guthrie 2024-10-04 18:11:58 +01:00 committed by GitHub
parent 0b9d126b34
commit 4045efb01e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -769,7 +769,7 @@ automation:
entity_id: sensor.phone_next_alarm entity_id: sensor.phone_next_alarm
offset: -00:05:00 offset: -00:05:00
actions: actions:
- service: light.turn_on - action: light.turn_on
target: target:
entity_id: light.bedroom entity_id: light.bedroom
``` ```

View File

@ -156,7 +156,7 @@ automation my_lights:
after: "16:00:00" after: "16:00:00"
before: "23:00:00" before: "23:00:00"
actions: actions:
# With a single service entry, we don't need a '-' before service - though you can if you want to # With a single action entry, we don't need a '-' before action - though you can if you want to
- action: homeassistant.turn_on - action: homeassistant.turn_on
target: target:
entity_id: group.living_room entity_id: group.living_room