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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue