Merge pull request #1601 from aneisch/patch-4

Fixed error in now() usage in template
This commit is contained in:
Daniel Høyer Iversen 2016-12-16 09:08:59 +01:00 committed by GitHub
commit 3e43437695

View File

@ -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 %}