Fixing a previous bug!
authoramiraj <amiraj.95@uci.edu>
Fri, 16 Aug 2019 22:52:45 +0000 (15:52 -0700)
committeramiraj <amiraj.95@uci.edu>
Fri, 16 Aug 2019 22:52:45 +0000 (15:52 -0700)
Thermostat/Thermostats.groovy

index e2defec..620aca1 100644 (file)
@@ -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)
                }
        }