From f320baf95e631380ccc566bcead73930dbcc1a55 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 21 Sep 2016 19:18:52 +0200 Subject: [PATCH] Update template (fixes #949) --- source/getting-started/scripts.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/getting-started/scripts.markdown b/source/getting-started/scripts.markdown index fdeede23996..69441a23ab9 100644 --- a/source/getting-started/scripts.markdown +++ b/source/getting-started/scripts.markdown @@ -50,7 +50,7 @@ state: 'home' ### {% linkable_title Delay %} -Delays are useful for temporarily suspending your script and start it at a later moment. We support different syntaxes for a delay as shown below. +Delays are useful for temporarily suspending your script and start it at a later moment. We support different syntaxes for a delay as shown below. ```yaml # Waits 1 hour @@ -72,7 +72,7 @@ delay: ```yaml # Waits however many minutes input_slider.minute_delay is set to # Valid formats include HH:MM and HH:MM:SS -delay: {% raw %}'00:{{ input_slider.minute_delay | int }}:00'{% endraw %} +delay: {% raw %}'00:{{ states.input_slider.minute_delay.state | int }}:00'{% endraw %} ``` ### {% linkable_title Fire an Event %}