Update template.markdown Legacy Binary Sensor (#36542)

Example in Legacy binary sensor section was missing quote marks.
This commit is contained in:
Didgeridrew 2024-12-25 09:39:59 -05:00 committed by GitHub
parent ce671a1572
commit 26bd89cd02
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -939,7 +939,7 @@ binary_sensor:
sensors: sensors:
sun_up: sun_up:
friendly_name: "Sun is up" friendly_name: "Sun is up"
value_template: {{ state_attr('sun.sun', 'elevation') > 0 }} value_template: "{{ state_attr('sun.sun', 'elevation') > 0 }}"
``` ```
{% endraw %} {% endraw %}