Adding new default value to thermostat device.
authorSeyed Amir Hossein Aqajari <saqajari@circinus-7.ics.uci.edu>
Thu, 7 Nov 2019 22:20:42 +0000 (14:20 -0800)
committerSeyed Amir Hossein Aqajari <saqajari@circinus-7.ics.uci.edu>
Thu, 7 Nov 2019 22:20:42 +0000 (14:20 -0800)
Thermostat/Thermostats.groovy

index 620aca1..9c660c9 100644 (file)
@@ -66,9 +66,9 @@ public class Thermostats{
                        this.thermostatSetpoint = 60
                        this.thermostatFanMode = "circulate"
                        this.thermostatLatestFanMode = "circulate"
-                       this.thermostatMode = "off"
-                       this.currentThermostatMode = "off"
-                       this.thermostatLatestMode = "off"               
+                       this.thermostatMode = "auto"
+                       this.currentThermostatMode = "auto"
+                       this.thermostatLatestMode = "auto"              
                }
                thermostats.add(new Thermostat(sendEvent, id, label, displayName, this.temperature, this.currentCoolingSetpoint, 
                                                this.currentHeatingSetpoint, this.coolingSetpoint, this.thermostatSetpoint, this.heatingSetpoint, this.coolingSetpointRange,