Update mini-hue-controller.groovy
[smartapps.git] / official / mini-hue-controller.groovy
index 051022be73327866916bd123dc233b480b10c6bb..e9314390e93d7c6e68b4430d15aa448d0d1e7a0b 100755 (executable)
@@ -60,7 +60,7 @@ def buttonHandler(evt) {
             }
                break
         
             }
                break
         
-        case 3:
+        case 1:
                if (evt.value == "held") {
                 def color = [name:"Soft White", hue: 23, saturation: 56]
                 bulbs.setColor(hue: color.hue, saturation: color.saturation)                   
                if (evt.value == "held") {
                 def color = [name:"Soft White", hue: 23, saturation: 56]
                 bulbs.setColor(hue: color.hue, saturation: color.saturation)