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

@ -62,6 +62,10 @@ class MaxThermostat extends AHomegearItem_1.AHomegearItem {
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');