Must be integer (#12618)

better example with integer
This commit is contained in:
Cooper Dale 2020-04-02 00:57:34 +02:00 committed by GitHub
parent 119f637a13
commit 4e56f0946c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -79,7 +79,7 @@ Delays are useful for temporarily suspending your script and start it at a later
# Waits however many seconds input_number.second_delay is set to
- delay:
# Supports milliseconds, seconds, minutes, hours, days
seconds: "{{ states('input_number.second_delay') }}"
seconds: "{{ states('input_number.second_delay') | int }}"
```
{% endraw %}