From: amiraj Date: Fri, 16 Aug 2019 22:52:45 +0000 (-0700) Subject: Fixing a previous bug! X-Git-Url: http://plrg.eecs.uci.edu/git/?p=smartthings-infrastructure.git;a=commitdiff_plain;h=5d971a0415dfc77797c45273d7a8bca3ee48d458 Fixing a previous bug! --- 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) } }