mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-15 13:26:54 +00:00
Fixed error in now() usage in template
This commit is contained in:
parent
adc603a7c2
commit
f1ccc8ea70
@ -131,7 +131,7 @@ Print out a list of all the sensor states.
|
|||||||
|
|
||||||
{{ as_timestamp(states.binary_sensor.garage_door.last_changed) }}
|
{{ as_timestamp(states.binary_sensor.garage_door.last_changed) }}
|
||||||
|
|
||||||
{{ as_timestamp(now) - as_timestamp(states.binary_sensor.garage_door.last_changed) }}{% endraw %}
|
{{ as_timestamp(now()) - as_timestamp(states.binary_sensor.garage_door.last_changed) }}{% endraw %}
|
||||||
```
|
```
|
||||||
|
|
||||||
### {% linkable_title Distance examples %}
|
### {% linkable_title Distance examples %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user