changed example in 'burglar' example to true/false
This commit is contained in:
parent
fccccccb50
commit
f579724dfa
1 changed files with 2 additions and 2 deletions
|
@ -157,9 +157,9 @@ binary_sensor:
|
||||||
friendly_name: "Friendly name here"
|
friendly_name: "Friendly name here"
|
||||||
value_template: >-
|
value_template: >-
|
||||||
{% raw %}{%- if is_state('sensor.YOUR_SENSOR_burglar', '8') -%}
|
{% raw %}{%- if is_state('sensor.YOUR_SENSOR_burglar', '8') -%}
|
||||||
on
|
true
|
||||||
{%- else -%}
|
{%- else -%}
|
||||||
off
|
false
|
||||||
{%- endif -%}{% endraw %}
|
{%- endif -%}{% endraw %}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue