mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-18 23:06:58 +00:00
Update template.markdown Legacy Binary Sensor (#36542)
Example in Legacy binary sensor section was missing quote marks.
This commit is contained in:
parent
ce671a1572
commit
26bd89cd02
@ -939,7 +939,7 @@ binary_sensor:
|
||||
sensors:
|
||||
sun_up:
|
||||
friendly_name: "Sun is up"
|
||||
value_template: {{ state_attr('sun.sun', 'elevation') > 0 }}
|
||||
value_template: "{{ state_attr('sun.sun', 'elevation') > 0 }}"
|
||||
```
|
||||
|
||||
{% endraw %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user