X-Git-Url: http://plrg.eecs.uci.edu/git/?p=smartthings-infrastructure.git;a=blobdiff_plain;f=Thermostat%2FThermostats.groovy;h=e2defec220cc3318f3c983c1121a6e3ebb0739fe;hp=2d0bc6c87558abc3c68db150e88e66fcd8761277;hb=4e7b2f59da1e3cf4cf5462636de52d8cc7976782;hpb=5afcc469fd9d6a42f000af2662c6b3d3f651d460 diff --git a/Thermostat/Thermostats.groovy b/Thermostat/Thermostats.groovy index 2d0bc6c..e2defec 100644 --- a/Thermostat/Thermostats.groovy +++ b/Thermostat/Thermostats.groovy @@ -25,13 +25,13 @@ public class Thermostats{ private supportedThermostatFanModes = ["auto", "fanCirculate", "circulate", "fanOn", "on"] private supportedThermostatModes = ["auto", "cool", "emergencyHeat", "heat", "off"] private String thermostatOperatingState = "cooling" - private String thermostatFanMode = "auto" - private String thermostatMode = "auto" - private String currentThermostatMode = "auto" + private String thermostatFanMode = "off" + private String thermostatMode = "off" + private String currentThermostatMode = "off" private String climateName = "" - private String thermostatLatestMode = "auto" + private String thermostatLatestMode = "off" private String thermostatLatestOperatingState = "cooling" - private String thermostatLatestFanMode = "auto" + private String thermostatLatestFanMode = "off" private int latestCoolingSetPoint = 70 private int latestThermostatSetPoint = 60 private int latestHeatingSetPoint = 50 @@ -51,11 +51,11 @@ public class Thermostats{ this.currentHeatingSetpoint = 35 this.heatingSetpoint = 35 this.thermostatSetpoint = 50 - this.thermostatFanMode = "auto" - this.thermostatLatestFanMode = "auto" - this.thermostatMode = "auto" - this.currentThermostatMode = "auto" - this.thermostatLatestMode = "auto" + this.thermostatFanMode = "off" + this.thermostatLatestFanMode = "off" + this.thermostatMode = "off" + this.currentThermostatMode = "off" + this.thermostatLatestMode = "off" } else { this.temperature = 66 this.currentTemperature = 66