X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=Thermostat%2FThermostats.groovy;h=620aca10a296f54d5e91c1c1d75654fa763c4db7;hb=5d971a0415dfc77797c45273d7a8bca3ee48d458;hp=e2defec220cc3318f3c983c1121a6e3ebb0739fe;hpb=4e7b2f59da1e3cf4cf5462636de52d8cc7976782;p=smartthings-infrastructure.git diff --git a/Thermostat/Thermostats.groovy b/Thermostat/Thermostats.groovy index e2defec..620aca1 100644 --- a/Thermostat/Thermostats.groovy +++ b/Thermostat/Thermostats.groovy @@ -141,7 +141,7 @@ public class Thermostats{ if (thermostatMode != this.thermostatMode) { this.thermostatLatestMode = thermostatMode this.thermostatMode = thermostatMode - this.currentThermostatMode = currentThermostatMode + this.currentThermostatMode = thermostatMode thermostats[0].setThermostatMode(thermostatMode) } }