mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-08 09:56:52 +00:00
Fix incorrect template in example.
This commit is contained in:
parent
74b7bb8b50
commit
0e66f32594
@ -84,7 +84,7 @@ switch:
|
|||||||
switches:
|
switches:
|
||||||
blind:
|
blind:
|
||||||
friendly_name: 'Blind'
|
friendly_name: 'Blind'
|
||||||
value_template: {% raw %}'{{ state }}'{% endraw %}
|
value_template: {% raw %}'{{ is_state_attr("switch.blind_toggle", "sensor_state", "on") }}'{% endraw %}
|
||||||
turn_on:
|
turn_on:
|
||||||
service: switch.toggle
|
service: switch.toggle
|
||||||
entity_id: switch.blind_toggle
|
entity_id: switch.blind_toggle
|
||||||
|
Loading…
x
Reference in New Issue
Block a user