From b855bfb060e0234677ebf7c06d76796bc52129d3 Mon Sep 17 00:00:00 2001 From: Rahmadi Trimananda Date: Fri, 9 Aug 2019 12:54:47 -0700 Subject: [PATCH 1/1] Update speaker-mood-music.groovy --- official/speaker-mood-music.groovy | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/official/speaker-mood-music.groovy b/official/speaker-mood-music.groovy index abdefd3..d5cbe78 100755 --- a/official/speaker-mood-music.groovy +++ b/official/speaker-mood-music.groovy @@ -120,7 +120,7 @@ def mainPage() { } } - def hideable = anythingSet || app.installationState == "COMPLETE" + def hideable = anythingSet //|| app.installationState == "COMPLETE" def sectionTitle = anythingSet ? "Select additional triggers" : "Play music when..." section(sectionTitle, hideable: hideable, hidden: true){ @@ -144,12 +144,12 @@ def mainPage() { section("More options", hideable: true, hidden: true) { input "volume", "number", title: "Set the 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) { + //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 } } -- 2.34.1