Update Hue Party Mode.groovy
authorSeyed Amir Hossein Aqajari <amiraj.95@uci.edu>
Mon, 5 Aug 2019 00:50:51 +0000 (17:50 -0700)
committerGitHub Enterprise <noreply@github.uci.edu>
Mon, 5 Aug 2019 00:50:51 +0000 (17:50 -0700)
third-party/Hue Party Mode.groovy

index c2e7c762e40d1f6f7e691e9bfa3d90303c147d12..0bcda0334311f2c3cca42351e9f601139d04a574 100755 (executable)
@@ -62,7 +62,7 @@ def updated() {
     unsubscribe()
     subscribe(app, onAppTouch)
     for (light in lights) {
     unsubscribe()
     subscribe(app, onAppTouch)
     for (light in lights) {
-       subscribeToCommand(light, "off", onLightOff)
+       subscribe(light, "off", onLightOff)
     }
     
     
     }