this.thermostatSetpoint = 60
this.thermostatFanMode = "circulate"
this.thermostatLatestFanMode = "circulate"
- this.thermostatMode = "off"
- this.currentThermostatMode = "off"
- this.thermostatLatestMode = "off"
+ this.thermostatMode = "auto"
+ this.currentThermostatMode = "auto"
+ this.thermostatLatestMode = "auto"
}
thermostats.add(new Thermostat(sendEvent, id, label, displayName, this.temperature, this.currentCoolingSetpoint,
this.currentHeatingSetpoint, this.coolingSetpoint, this.thermostatSetpoint, this.heatingSetpoint, this.coolingSetpointRange,
if (thermostatMode != this.thermostatMode) {
this.thermostatLatestMode = thermostatMode
this.thermostatMode = thermostatMode
- this.currentThermostatMode = currentThermostatMode
+ this.currentThermostatMode = thermostatMode
thermostats[0].setThermostatMode(thermostatMode)
}
}