From 6d01492c6aab5d15371a767c136fb5ac01a20691 Mon Sep 17 00:00:00 2001 From: Seyed Amir Hossein Aqajari Date: Fri, 9 Aug 2019 12:01:31 -0700 Subject: [PATCH] Update lighting-director.groovy --- official/lighting-director.groovy | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/official/lighting-director.groovy b/official/lighting-director.groovy index a73c496..f1e9375 100755 --- a/official/lighting-director.groovy +++ b/official/lighting-director.groovy @@ -263,19 +263,19 @@ def initialize() { midNightReset() if(A_motion) { - subscribe(settings.A_motion, "motion", onEventA) + subscribe(A_motion, "motion", onEventA) } if(A_acceleration) { - subscribe(settings.A_acceleration, "acceleration", onEventA) + subscribe(A_acceleration, "acceleration", onEventA) } if(A_contact) { - subscribe(settings.A_contact, "contact", onEventA) + subscribe(A_contact, "contact", onEventA) } if(A_lock) { - subscribe(settings.A_lock, "lock", onEventA) + subscribe(A_lock, "lock", onEventA) } if(A_switchDisable) { -- 2.34.1