X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=third-party%2Fgarage-switch.groovy;h=30191fb37eb960350d285fc486ff3add0e1d5be8;hb=13c56300d46002792c90f4c534e28e748f0d4dbb;hp=0708b91d3291070726bbba717123189243a03baa;hpb=3325c1b0cc49b9fbbc497cb3612f7aeff5263eca;p=smartapps.git diff --git a/third-party/garage-switch.groovy b/third-party/garage-switch.groovy index 0708b91..30191fb 100755 --- a/third-party/garage-switch.groovy +++ b/third-party/garage-switch.groovy @@ -51,7 +51,7 @@ def updated() { def initialize() { subscribe(theSwitch, "switch", switchHit) - subscribe(theSensor, "status", statusChanged) + subscribe(theSensor, "threeAxis", statusChanged) } def switchHit(evt) {