Skip to content

Commit f320baf

Browse files
committed
Update template (fixes home-assistant#949)
1 parent 97e63a6 commit f320baf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/getting-started/scripts.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ state: 'home'
5050

5151
### {% linkable_title Delay %}
5252

53-
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.
53+
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.
5454

5555
```yaml
5656
# Waits 1 hour
@@ -72,7 +72,7 @@ delay:
7272
```yaml
7373
# Waits however many minutes input_slider.minute_delay is set to
7474
# Valid formats include HH:MM and HH:MM:SS
75-
delay: {% raw %}'00:{{ input_slider.minute_delay | int }}:00'{% endraw %}
75+
delay: {% raw %}'00:{{ states.input_slider.minute_delay.state | int }}:00'{% endraw %}
7676
```
7777

7878
### {% linkable_title Fire an Event %}

0 commit comments

Comments
 (0)