Merge pull request #4109 from Zorks/patch-1

changed example in 'burglar' example to true/false
This commit is contained in:
DubhAd 2017-12-01 11:37:54 +00:00 committed by GitHub
commit 677a249b82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -157,9 +157,9 @@ binary_sensor:
friendly_name: "Friendly name here"
value_template: >-
{% raw %}{%- if is_state('sensor.YOUR_SENSOR_burglar', '8') -%}
on
true
{%- else -%}
off
false
{%- endif -%}{% endraw %}
```