We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d058832 commit 2189bbdCopy full SHA for 2189bbd
source/_components/binary_sensor.template.markdown
@@ -124,7 +124,7 @@ binary_sensor:
124
- platform: template
125
sensors:
126
people_home:
127
- value_template: >-
+ value_template: {% raw %}>-
128
{%- if is_state("device_tracker.sean", "home")
129
or is_state("device_tracker.susan", "home")
130
or is_state("binary_sensor.office_124", "on")
@@ -136,7 +136,7 @@ binary_sensor:
136
True
137
{%- else -%}
138
False
139
- {%- endif %}
+ {%- endif %}{% endraw %}
140
entity_id:
141
- device_tracker.sean
142
- device_tracker.susan
0 commit comments