Fix incorrect template in example.

This commit is contained in:
Greg Dowling 2016-08-31 10:12:21 +01:00 committed by GitHub
parent 74b7bb8b50
commit 0e66f32594

View File

@ -84,7 +84,7 @@ switch:
switches:
blind:
friendly_name: 'Blind'
value_template: {% raw %}'{{ state }}'{% endraw %}
value_template: {% raw %}'{{ is_state_attr("switch.blind_toggle", "sensor_state", "on") }}'{% endraw %}
turn_on:
service: switch.toggle
entity_id: switch.blind_toggle