X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=official%2Fmini-hue-controller.groovy;h=e9314390e93d7c6e68b4430d15aa448d0d1e7a0b;hb=b53ae369168d5a4e1a5d972e022c8c939bb3e241;hp=051022be73327866916bd123dc233b480b10c6bb;hpb=f4605bcb06622f31cf38fbd6f8fa3dd63b43b168;p=smartapps.git diff --git a/official/mini-hue-controller.groovy b/official/mini-hue-controller.groovy index 051022b..e931439 100755 --- a/official/mini-hue-controller.groovy +++ b/official/mini-hue-controller.groovy @@ -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)