mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 16:56:50 +00:00
get the state correctly (#11256)
This commit is contained in:
parent
0b70f37b58
commit
1e7238a4b6
@ -151,7 +151,7 @@ switch:
|
|||||||
switches:
|
switches:
|
||||||
skylight:
|
skylight:
|
||||||
friendly_name: "Skylight"
|
friendly_name: "Skylight"
|
||||||
value_template: "{{ is_state('sensor.skylight.state', 'on') }}"
|
value_template: "{{ is_state('sensor.skylight', 'on') }}"
|
||||||
turn_on:
|
turn_on:
|
||||||
service: switch.turn_on
|
service: switch.turn_on
|
||||||
data:
|
data:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user