mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-15 21:36:52 +00:00
Corrected example, condition state on (#2342)
Sensor in 'on' for workday, 'off' for non-workday. Corrected automation example to reflect that.
This commit is contained in:
parent
3d004e6404
commit
9b475c11f2
@ -43,7 +43,7 @@ automation:
|
||||
condition:
|
||||
condition: state
|
||||
entity_id: 'binary_sensor.workday_sensor'
|
||||
state: 'off'
|
||||
state: 'on'
|
||||
action:
|
||||
service: switch.turn_on
|
||||
entity_id: switch.heater
|
||||
|
Loading…
x
Reference in New Issue
Block a user