Update vacation-lighting-director.groovy
authorSeyed Amir Hossein Aqajari <amiraj.95@uci.edu>
Wed, 7 Aug 2019 02:03:09 +0000 (19:03 -0700)
committerGitHub Enterprise <noreply@github.uci.edu>
Wed, 7 Aug 2019 02:03:09 +0000 (19:03 -0700)
official/vacation-lighting-director.groovy

index c3187b7..c54ad37 100755 (executable)
@@ -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"
     ]