this.currentHeatingSetpoint = heatingSetpoint
this.heatingSetpoint = heatingSetpoint
this.latestCoolingSetPoint = coolingSetpoint
- this.latestHeatingSetpoint = heatingSetpoint
+ this.latestHeatingSetPoint = heatingSetpoint
thermostats[0].setHold(info1, coolingSetpoint, heatingSetpoint, info2, info3)
}
}
}
} else if (eventDataMap["name"] == "heatingSetpoint") {
if (eventDataMap["value"].toInteger() != thermostats[0].heatingSetpoint) {
- this.latestHeatingSetpoint = eventDataMap["value"].toInteger()
+ this.latestHeatingSetPoint = eventDataMap["value"].toInteger()
this.heatingSetpoint = eventDataMap["value"].toInteger()
thermostats[0].setValue(eventDataMap["value"], "heatingSetpoint")
sendEvent(eventDataMap)
}
} else if (eventDataMap["name"] == "thermostatSetpoint") {
if (eventDataMap["value"].toInteger() != thermostats[0].thermostatSetpoint) {
- this.latestThermostatSetpoint = eventDataMap["value"].toInteger()
+ this.latestThermostatSetPoint = eventDataMap["value"].toInteger()
this.thermostatSetpoint = eventDataMap["value"].toInteger()
thermostats[0].setValue(eventDataMap["value"], "thermostatSetpoint")
sendEvent(eventDataMap)