diff --git a/source/_docs/automation/trigger.markdown b/source/_docs/automation/trigger.markdown index 827b431bac7..12b9e0871aa 100644 --- a/source/_docs/automation/trigger.markdown +++ b/source/_docs/automation/trigger.markdown @@ -769,7 +769,7 @@ automation: entity_id: sensor.phone_next_alarm offset: -00:05:00 actions: - - service: light.turn_on + - action: light.turn_on target: entity_id: light.bedroom ``` diff --git a/source/_docs/automation/yaml.markdown b/source/_docs/automation/yaml.markdown index 9286ee643a9..bda7a04e832 100644 --- a/source/_docs/automation/yaml.markdown +++ b/source/_docs/automation/yaml.markdown @@ -156,7 +156,7 @@ automation my_lights: after: "16:00:00" before: "23:00:00" 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 target: entity_id: group.living_room