Adding new default value to thermostat device.
[smartthings-infrastructure.git] / 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.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,
                }
                thermostats.add(new Thermostat(sendEvent, id, label, displayName, this.temperature, this.currentCoolingSetpoint, 
                                                this.currentHeatingSetpoint, this.coolingSetpoint, this.thermostatSetpoint, this.heatingSetpoint, this.coolingSetpointRange,