Update hue-mood-lighting.groovy
[smartapps.git] / official / thermostat-mode-director.groovy
index 8e822da1e0226f70d957767663735cefa0d4468d..298878a3711d8a96828272c1113354763ce948ab 100755 (executable)
@@ -43,11 +43,11 @@ preferences {
                        input "ending", "time", title: "Ending", required: false
                }
        }
-    page name:"pageSetup"
     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"
     ]
 
@@ -353,6 +353,9 @@ def updated(){
        init()
 }
 
+// input "sensor", "capability.temperatureMeasurement"
+// input "doors", "capability.contactSensor"
+
 def init(){
        state.lastStatus = null
        subscribe(app, appTouch)