heating scenes added

This commit is contained in:
2018-04-17 13:58:50 +02:00
parent c77f5b9096
commit a8761a68b6
6 changed files with 59 additions and 2 deletions

View File

@ -87,6 +87,9 @@ export class MaxThermostat extends AHomegearItem implements HasInTopic {
} else if (payload == 'OFF') {
this.temperature = DISABLED_TEMPERATURE
setTemperature = true
} else if (payload == 'FORCE_ON') {
this.temperature = this.presetTemperature
setTemperature = true
}
} else if (topic == MaxThermostat.heatingMainSwitchTopic) {
this.heatingMainFlag = (payload == 'ON')