From 7a12488872c173d19839e3048920af78b158a0df Mon Sep 17 00:00:00 2001 From: Ockert Marais Date: Mon, 14 Jun 2021 14:05:12 +0200 Subject: [PATCH] Fixed indentation of example (#1239) --- guides/automations.rst | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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