From: Seyed Amir Hossein Aqajari Date: Fri, 9 Aug 2019 19:01:31 +0000 (-0700) Subject: Update lighting-director.groovy X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6d01492c6aab5d15371a767c136fb5ac01a20691;p=smartapps.git Update lighting-director.groovy --- 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) {