mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-14 04:46:49 +00:00
Update template (fixes #949)
This commit is contained in:
parent
97e63a6958
commit
f320baf95e
@ -50,7 +50,7 @@ state: 'home'
|
|||||||
|
|
||||||
### {% linkable_title Delay %}
|
### {% 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
|
```yaml
|
||||||
# Waits 1 hour
|
# Waits 1 hour
|
||||||
@ -72,7 +72,7 @@ delay:
|
|||||||
```yaml
|
```yaml
|
||||||
# Waits however many minutes input_slider.minute_delay is set to
|
# Waits however many minutes input_slider.minute_delay is set to
|
||||||
# Valid formats include HH:MM and HH:MM:SS
|
# 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 %}
|
### {% linkable_title Fire an Event %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user