Skip to content

Commit f1ccc8e

Browse files
authored
Fixed error in now() usage in template
1 parent adc603a commit f1ccc8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/_topics/templating.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ Print out a list of all the sensor states.
131131
132132
{{ as_timestamp(states.binary_sensor.garage_door.last_changed) }}
133133
134-
{{ as_timestamp(now) - as_timestamp(states.binary_sensor.garage_door.last_changed) }}{% endraw %}
134+
{{ as_timestamp(now()) - as_timestamp(states.binary_sensor.garage_door.last_changed) }}{% endraw %}
135135
```
136136

137137
### {% linkable_title Distance examples %}

0 commit comments

Comments
 (0)