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 051022b..e931439 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)