mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-12 03:46:49 +00:00
fix quotes (#1547)
This commit is contained in:
parent
0dbdfaafdb
commit
0148045a71
@ -27,7 +27,7 @@ switch:
|
|||||||
- platform: template
|
- platform: template
|
||||||
switches:
|
switches:
|
||||||
skylight:
|
skylight:
|
||||||
value_template: {% raw %}'{{ is_state('sensor.skylight', 'on') }}'{% endraw %}
|
value_template: {% raw %}"{{ is_state('sensor.skylight', 'on') }}"{% endraw %}
|
||||||
turn_on:
|
turn_on:
|
||||||
service: switch.turn_on
|
service: switch.turn_on
|
||||||
entity_id: switch.skylight_open
|
entity_id: switch.skylight_open
|
||||||
@ -64,7 +64,7 @@ switch:
|
|||||||
- platform: template
|
- platform: template
|
||||||
switches:
|
switches:
|
||||||
copy:
|
copy:
|
||||||
value_template: {% raw %}'{{ is_state('switch.source', 'on') }}'{% endraw %}
|
value_template: {% raw %}"{{ is_state('switch.source', 'on') }}"{% endraw %}
|
||||||
turn_on:
|
turn_on:
|
||||||
service: switch.turn_on
|
service: switch.turn_on
|
||||||
entity_id: switch.source
|
entity_id: switch.source
|
||||||
@ -83,7 +83,7 @@ switch:
|
|||||||
switches:
|
switches:
|
||||||
blind:
|
blind:
|
||||||
friendly_name: 'Blind'
|
friendly_name: 'Blind'
|
||||||
value_template: {% raw %}'{{ is_state_attr("switch.blind_toggle", "sensor_state", "on") }}'{% 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
|
||||||
@ -102,7 +102,7 @@ switch:
|
|||||||
switches:
|
switches:
|
||||||
skylight:
|
skylight:
|
||||||
friendly_name: 'Skylight'
|
friendly_name: 'Skylight'
|
||||||
value_template: {% raw %}'{{ is_state('sensor.skylight.state', 'on') }}'{% endraw %}
|
value_template: {% raw %}"{{ is_state('sensor.skylight.state', 'on') }}"{% endraw %}
|
||||||
turn_on:
|
turn_on:
|
||||||
service: switch.turn_on
|
service: switch.turn_on
|
||||||
entity_id: switch.skylight_open
|
entity_id: switch.skylight_open
|
||||||
|
Loading…
x
Reference in New Issue
Block a user