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 620aca10a296f54d5e91c1c1d75654fa763c4db7..9c660c9badf176dae3da5c03810c6e64082a12d5 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,