diff --git a/guides/automations.rst b/guides/automations.rst index af7ea872b..60365f97d 100644 --- a/guides/automations.rst +++ b/guides/automations.rst @@ -792,13 +792,13 @@ using script modes ``single`` and ``restart`` respectively. .. code-block:: yaml script: - - id: hallway_light_script - mode: restart # Light will be kept on during 1 minute since - # the latest time the script is executed - then: - - light.turn_on: hallway_light - - delay: 1 min - - light.turn_off: hallway_light + - id: hallway_light_script + mode: restart # Light will be kept on during 1 minute since + # the latest time the script is executed + then: + - light.turn_on: hallway_light + - delay: 1 min + - light.turn_off: hallway_light ... on_...: # can be called from different wall switches