X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=third-party%2FBetterLaundryMonitor.groovy;h=dab78517e02d375ea0341f5acff5fff1c6eafe9a;hb=56d60d0e65129d003a40620fa6d31093065af738;hp=eac009dbf5578c2de65c670013473de0f1c5aeb6;hpb=3325c1b0cc49b9fbbc497cb3612f7aeff5263eca;p=smartapps.git diff --git a/third-party/BetterLaundryMonitor.groovy b/third-party/BetterLaundryMonitor.groovy index eac009d..dab7851 100755 --- a/third-party/BetterLaundryMonitor.groovy +++ b/third-party/BetterLaundryMonitor.groovy @@ -47,8 +47,8 @@ preferences { input "switches", "capability.switch", title: "Turn on this switch", required:false, multiple:true input "hues", "capability.colorControl", title: "Turn these hue bulbs", required:false, multiple:true input "color", "enum", title: "This color", required: false, multiple:false, options: ["White", "Red","Green","Blue","Yellow","Orange","Purple","Pink"] - input "lightLevel", "enum", title: "This light Level", required: false, options: [[10:"10%"],[20:"20%"],[30:"30%"],[40:"40%"],[50:"50%"],[60:"60%"],[70:"70%"],[80:"80%"],[90:"90%"],[100:"100%"]] - input "speech", "capability.capability.speechSynthesis", title:"Speak message via: ", multiple: true, required: false + input "lightLevel", "enum", title: "This light Level", required: false, options: [10,20,30,40,50,60,70,80,90,100] + input "speech", "capability.speechSynthesis", title:"Speak message via: ", multiple: true, required: false } } @@ -187,7 +187,7 @@ private send(msg) { } private hideOptionsSection() { - (phone || switches || hues || color || lightLevel) ? false : true + true }