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 c2e7c76..0bcda03 100755 (executable)
@@ -62,7 +62,7 @@ def updated() {
     unsubscribe()
     subscribe(app, onAppTouch)
     for (light in lights) {
-       subscribeToCommand(light, "off", onLightOff)
+       subscribe(light, "off", onLightOff)
     }