From: Seyed Amir Hossein Aqajari Date: Wed, 31 Jul 2019 01:49:56 +0000 (-0700) Subject: Update thermostat-mode-director.groovy X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9303fda38575b957bc1690f0edd19c0564c2e0a7;p=smartapps.git Update thermostat-mode-director.groovy --- diff --git a/official/thermostat-mode-director.groovy b/official/thermostat-mode-director.groovy index 4db49fd..cd23599 100755 --- a/official/thermostat-mode-director.groovy +++ b/official/thermostat-mode-director.groovy @@ -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" ]