Update speaker-control.groovy
authorRahmadi Trimananda <rahmadi.trimananda@uci.edu>
Fri, 9 Aug 2019 19:47:46 +0000 (12:47 -0700)
committerGitHub Enterprise <noreply@github.uci.edu>
Fri, 9 Aug 2019 19:47:46 +0000 (12:47 -0700)
official/speaker-control.groovy

index c94baec..76665e0 100755 (executable)
@@ -103,9 +103,10 @@ def mainPage() {
                        //href "timeIntervalInput", title: "Only during a certain time", description: timeLabel ?: "Tap to set", state: timeLabel ? "complete" : "incomplete"
                        input "days", "enum", title: "Only on certain days of the week", multiple: true, required: false,
                                options: ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"]
-                       if (settings.modes) {
-               input "modes", "mode", title: "Only when mode is", multiple: true, required: false
-            }
+                       // Just allow this to be set
+                       //if (settings.modes) {
+                       input "modes", "mode", title: "Only when mode is", multiple: true, required: false
+                       //}
                        input "oncePerDay", "bool", title: "Only once per day", required: false, defaultValue: false
                }
                section([mobileOnly:true]) {