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:
Kip 2017-03-27 14:41:46 -04:00 committed by Fabian Affolter
parent 3d004e6404
commit 9b475c11f2

View File

@ -43,7 +43,7 @@ automation:
condition: condition:
condition: state condition: state
entity_id: 'binary_sensor.workday_sensor' entity_id: 'binary_sensor.workday_sensor'
state: 'off' state: 'on'
action: action:
service: switch.turn_on service: switch.turn_on
entity_id: switch.heater entity_id: switch.heater