Update notify-me-with-hue.groovy
authorSeyed Amir Hossein Aqajari <amiraj.95@uci.edu>
Sun, 4 Aug 2019 20:02:30 +0000 (13:02 -0700)
committerGitHub Enterprise <noreply@github.uci.edu>
Sun, 4 Aug 2019 20:02:30 +0000 (13:02 -0700)
official/notify-me-with-hue.groovy

index 3bbfda7..e2b6054 100755 (executable)
@@ -73,7 +73,7 @@ def updated() {
 }
 
 def subscribeToEvents() {
-       subscribe(app, appTouchHandler1)
+       subscribe(app, appTouchHandler)
        subscribe(contact, "contact.open", eventHandler1)
        subscribe(contactClosed, "contact.closed", eventHandler1)
        subscribe(acceleration, "acceleration.active", eventHandler1)