debug output

This commit is contained in:
2018-04-09 16:08:41 +02:00
parent aad115f7b0
commit 245002acad
3 changed files with 8 additions and 5 deletions

View File

@ -91,6 +91,7 @@ export class MaxThermostat extends AHomegearItem implements HasInTopic {
}
} else if (topic == MaxThermostat.summerSwitchTopic) {
this.summerFlag = (payload == 'ON')
logger.info(`${this.itemId} switched to ${this.summerFlag ? 'Summer' : 'Winter'} mode`)
} else if (topic == this.presetTemperatureTopic) {
this.presetTemperature = parseFloat(payload)
mqttHandler.send(this.presetTemperatureFeedbackTopic, `${this.presetTemperature}`)