From d14509f0e52b02faa0d2a5e6f7530b4ce1a4b1b9 Mon Sep 17 00:00:00 2001 From: Rahmadi Trimananda Date: Fri, 9 Aug 2019 12:19:41 -0700 Subject: [PATCH] Update routine-director.groovy --- official/routine-director.groovy | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/official/routine-director.groovy b/official/routine-director.groovy index 27336f8..f881ffb 100755 --- a/official/routine-director.groovy +++ b/official/routine-director.groovy @@ -33,6 +33,13 @@ definition( ) preferences { + page (name: "timeIntervalInput", title: "Only during a certain time") { + section { + input "starting", "time", title: "Starting", required: false + input "ending", "time", title: "Ending", required: false + } + } + page(name: "selectRoutines") page(name: "Settings", title: "Settings", uninstall: true, install: true) { @@ -60,11 +67,10 @@ preferences { options: ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"] input "modes", "mode", title: "Only when mode is", multiple: true, required: false } - - section { - input "starting", "time", title: "Starting", required: false - input "ending", "time", title: "Ending", required: false - } + + section("Change to this mode") { + input "newMode", "mode", title: "Mode?" + } } } -- 2.34.1