X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=official%2Fspeaker-control.groovy;h=76665e012bc5b2a673f22b94f7a2273b683e573a;hb=73703836ed59e7974b1d2fc1cdf83627aae600de;hp=fbc5e494fdbe41b01c9eea8856655de0d6a03220;hpb=4dd20364615bf26f59c7399c0739ba06376b026a;p=smartapps.git diff --git a/official/speaker-control.groovy b/official/speaker-control.groovy index fbc5e49..76665e0 100755 --- a/official/speaker-control.groovy +++ b/official/speaker-control.groovy @@ -100,12 +100,13 @@ def mainPage() { section("More options", hideable: true, hidden: true) { input "volume", "number", title: "Set the volume volume", description: "0-100%", required: false input "frequency", "decimal", title: "Minimum time between actions (defaults to every event)", description: "Minutes", required: false - href "timeIntervalInput", title: "Only during a certain time", description: timeLabel ?: "Tap to set", state: timeLabel ? "complete" : "incomplete" + //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]) {