debug output
This commit is contained in:
2
dist/MaxThermostat.js
vendored
2
dist/MaxThermostat.js
vendored
@ -1,5 +1,6 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const logger = require("./log");
|
||||
const MqttDispatcher_1 = require("./MqttDispatcher");
|
||||
const AHomegearItem_1 = require("./AHomegearItem");
|
||||
// import { MaxWindowContact } from './MaxWindowContact';
|
||||
@ -65,6 +66,7 @@ class MaxThermostat extends AHomegearItem_1.AHomegearItem {
|
||||
}
|
||||
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);
|
||||
|
Reference in New Issue
Block a user