mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Merge pull request #875 from home-assistant/pavoni-patch-1
Fix incorrect template in example.
This commit is contained in:
commit
db55158f35
@ -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