From 284c9209a741707871397b47ac11ebda648ffbc1 Mon Sep 17 00:00:00 2001 From: Teagan Glenn Date: Thu, 21 Jul 2016 06:22:59 -0600 Subject: [PATCH] Update Script Getting Started Doc for Delay (#661) * Update Script Getting Started Doc Documentation update for PR https://github.com/home-assistant/home-assistant/pull/2560 * Update doc to match code change --- source/getting-started/scripts.markdown | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source/getting-started/scripts.markdown b/source/getting-started/scripts.markdown index e0413a421da..eaf042b0c72 100644 --- a/source/getting-started/scripts.markdown +++ b/source/getting-started/scripts.markdown @@ -69,6 +69,12 @@ delay: minutes: 1 ``` +```yaml +# Waits however many minutes input_slider.minute_delay is set to +delay: '00:{{ input_slider.minute_delay }}:00' + # Valid formats include HH:MM and HH:MM:SS +``` + #### {% linkable_title Fire an Event %} This action allows you to fire an event. Events can be used for many things. It could trigger an automation or indicate to another component that something is happening. For instance, in the below example it is used to create an entry in the logbook.