From: Rahmadi Trimananda Date: Fri, 9 Aug 2019 19:47:46 +0000 (-0700) Subject: Update speaker-control.groovy X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e385492635471d018aba3a96e71bfeb8c51128c4;p=smartapps.git Update speaker-control.groovy --- diff --git a/official/speaker-control.groovy b/official/speaker-control.groovy index c94baec..76665e0 100755 --- a/official/speaker-control.groovy +++ b/official/speaker-control.groovy @@ -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]) {