Solving the conflicts
[smartthings-infrastructure.git] / Thermostat / Thermostats.groovy
index 42a8728ebaa584e942d3bd3a2520610ec4183356..73a2148c0b9477282bc8c82b7bd743024b441173 100644 (file)
@@ -227,6 +227,8 @@ public class Thermostats{
                        this.coolingSetpoint = coolingSetpoint
                        this.currentHeatingSetpoint = heatingSetpoint
                        this.heatingSetpoint = heatingSetpoint
+                       this.latestCoolingSetPoint = coolingSetpoint
+                       this.latestHeatingSetpoint = heatingSetpoint
                        thermostats[0].setHold(info1, coolingSetpoint, heatingSetpoint, info2, info3)
                }
        }