Update mini-hue-controller.groovy
authorRahmadi Trimananda <rahmadi.trimananda@uci.edu>
Fri, 28 Feb 2020 23:26:49 +0000 (15:26 -0800)
committerGitHub Enterprise <noreply@github.uci.edu>
Fri, 28 Feb 2020 23:26:49 +0000 (15:26 -0800)
official/mini-hue-controller.groovy

index 051022be73327866916bd123dc233b480b10c6bb..e9314390e93d7c6e68b4430d15aa448d0d1e7a0b 100755 (executable)
@@ -60,7 +60,7 @@ def buttonHandler(evt) {
             }
                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)