From dc1bbded0af8417828736d639344ea209acf6285 Mon Sep 17 00:00:00 2001 From: Seyed Amir Hossein Aqajari Date: Tue, 6 Aug 2019 19:03:09 -0700 Subject: [PATCH] Update vacation-lighting-director.groovy --- official/vacation-lighting-director.groovy | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/official/vacation-lighting-director.groovy b/official/vacation-lighting-director.groovy index c3187b7..c54ad37 100755 --- a/official/vacation-lighting-director.groovy +++ b/official/vacation-lighting-director.groovy @@ -37,11 +37,10 @@ definition( ) preferences { - page name:"pageSetup" - page name:"Setup" - page name:"Settings" page name: "timeIntervalInput" - + page name:"Settings1" + page name:"Setup" + page name:"pageSetup" } // Show setup page @@ -62,7 +61,7 @@ def pageSetup() { } section("Setup Menu") { href "Setup", title: "Setup", description: "", state:greyedOut() - href "Settings", title: "Settings", description: "", state: greyedOutSettings() + href "Settings1", title: "Settings1", description: "", state: greyedOutSettings() } section([title:"Options", mobileOnly:true]) { label title:"Assign a name", required:false @@ -134,7 +133,7 @@ def Setup() { } // Show "Setup" page -def Settings() { +def Settings1() { def falseAlarmThreshold = [ name: "falseAlarmThreshold", @@ -151,11 +150,11 @@ def Settings() { options: ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"] ] - def pageName = "Settings" + def pageName = "Settings1" def pageProperties = [ - name: "Settings", - title: "Settings", + name: "Settings1", + title: "Settings1", nextPage: "pageSetup" ] -- 2.34.1