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
This commit is contained in:
Teagan Glenn 2016-07-21 06:22:59 -06:00 committed by Fabian Affolter
parent 6d7db78dd8
commit 284c9209a7

View File

@ -69,6 +69,12 @@ delay:
minutes: 1 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 %} #### {% 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. 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.