From e1090c46a5339588a46de6f8ae40b42cc11e24a0 Mon Sep 17 00:00:00 2001
From: ccostan <carlo@ipm.com>
Date: Sat, 6 Oct 2018 17:47:54 -0400
Subject: [PATCH] Updated Light logic for hallway lights.

---
 config/automation/garage_entry_light.yaml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/config/automation/garage_entry_light.yaml b/config/automation/garage_entry_light.yaml
index 802b1a38..dd651582 100755
--- a/config/automation/garage_entry_light.yaml
+++ b/config/automation/garage_entry_light.yaml
@@ -33,10 +33,10 @@
   condition:
     - condition: state
       entity_id: binary_sensor.mcu1_gpio12
-      to: 'off'
-    - conditon: state
+      state: 'off'
+    - condition: state
       entity_id: binary_sensor.kitchen_door_opened
-      to: 'off'
+      state: 'off'
 
   action:
     service: light.turn_off