Update vacation-lighting-director.groovy
[smartapps.git] / third-party / BetterLaundryMonitor.groovy
index b079fbb0a0bec4cdc3e8f36e9e195bfde2144e5f..dab78517e02d375ea0341f5acff5fff1c6eafe9a 100755 (executable)
@@ -47,7 +47,7 @@ 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 "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
 }