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 e2defec220cc3318f3c983c1121a6e3ebb0739fe..620aca10a296f54d5e91c1c1d75654fa763c4db7 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)
                }
        }