Update Hue-Party-Mode.groovy
[smartapps.git] / third-party / Hue-Party-Mode.groovy
index 0bcda0334311f2c3cca42351e9f601139d04a574..9cad822dfbcb9573e837ccaa2a363c077e108057 100755 (executable)
@@ -57,12 +57,13 @@ def installed() {
     updated()
 }
 
+// input "light", "capability.colorControl"
 def updated() {
     log.debug("Updated with settings: ${settings}")
     unsubscribe()
     subscribe(app, onAppTouch)
     for (light in lights) {
-       subscribe(light, "off", onLightOff)
+       subscribe(light, "switch.off", onLightOff)
     }