From e385492635471d018aba3a96e71bfeb8c51128c4 Mon Sep 17 00:00:00 2001 From: Rahmadi Trimananda Date: Fri, 9 Aug 2019 12:47:46 -0700 Subject: [PATCH] Update speaker-control.groovy --- official/speaker-control.groovy | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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]) { -- 2.34.1