mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-25 10:17:23 +00:00
Fix missing end of block in template binary sensor (#14390)
This commit is contained in:
parent
0a19873f0c
commit
833da896c6
@ -333,6 +333,7 @@ automation:
|
|||||||
action:
|
action:
|
||||||
- service: homeassistant.update_entity
|
- service: homeassistant.update_entity
|
||||||
entity_id: binary_sensor.minute_is_odd
|
entity_id: binary_sensor.minute_is_odd
|
||||||
|
```
|
||||||
{% endraw %}
|
{% endraw %}
|
||||||
|
|
||||||
In the case where the template should be updated every minute, replacing `now()` with `as_local(states.sensor.time.last_changed)`
|
In the case where the template should be updated every minute, replacing `now()` with `as_local(states.sensor.time.last_changed)`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user