From 9b475c11f299c8974efec6be71f7b3d7919ee10a Mon Sep 17 00:00:00 2001 From: Kip Date: Mon, 27 Mar 2017 14:41:46 -0400 Subject: [PATCH] Corrected example, condition state on (#2342) Sensor in 'on' for workday, 'off' for non-workday. Corrected automation example to reflect that. --- source/_components/binary_sensor.workday.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_components/binary_sensor.workday.markdown b/source/_components/binary_sensor.workday.markdown index e7d729b88b6..16b28e28fba 100644 --- a/source/_components/binary_sensor.workday.markdown +++ b/source/_components/binary_sensor.workday.markdown @@ -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