Update thermostat-mode-director.groovy
authorSeyed Amir Hossein Aqajari <amiraj.95@uci.edu>
Wed, 31 Jul 2019 01:49:56 +0000 (18:49 -0700)
committerGitHub Enterprise <noreply@github.uci.edu>
Wed, 31 Jul 2019 01:49:56 +0000 (18:49 -0700)
official/thermostat-mode-director.groovy

index 4db49fd9b22ccbb90ab9fca01c7fb088310dc873..cd23599725213cfe0b0f55e833081b46ddd1294d 100755 (executable)
@@ -46,7 +46,7 @@ preferences {
     page name:"directorSettings"
     page name:"ThermostatandDoors"
     page name:"ThermostatBoost"
-    page name:"Settings"
+    page name:"SettingsMethod"
     page name:"pageSetup"
 
 }
@@ -70,7 +70,7 @@ def pageSetup() {
             href "directorSettings", title: "Director Settings", description: "", state:greyedOut()
             href "ThermostatandDoors", title: "Thermostat and Doors", description: "", state: greyedOutTherm()
             href "ThermostatBoost", title: "Thermostat Boost", description: "", state: greyedOutTherm1()
-            href "Settings", title: "Settings", description: "", state: greyedOutSettings()
+            href "SettingsMethod", title: "SettingsMethod", description: "", state: greyedOutSettings()
             }
         section([title:"Options", mobileOnly:true]) {
             label title:"Assign a name", required:false
@@ -285,7 +285,7 @@ def ThermostatBoost() {
 }
 
 // Show "Setup" page
-def Settings() {
+def SettingsMethod() {
 
     def sendPushMessage = [
         name:          "sendPushMessage",
@@ -320,11 +320,11 @@ def Settings() {
         required:      false
     ]
     
-    def pageName = "Settings"
+    def pageName = "SettingsMethod"
     
     def pageProperties = [
-        name:       "Settings",
-        title:      "Settings",
+        name:       "SettingsMethod",
+        title:      "SettingsMethod",
         nextPage:   "pageSetup"
     ]