Update vacation-lighting-director.groovy
[smartapps.git] / official / vacation-lighting-director.groovy
index c3187b743e3d94e36d5ded3652adf76c5749a6a5..c54ad37574bab06ffec1f7590b69dcbb5ed04be9 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"
     ]