debug keller licht

This commit is contained in:
Wolfgang Hottgenroth
2018-05-24 23:26:38 +02:00
parent 27153262bc
commit f75de912ba
6 changed files with 78 additions and 5 deletions

View File

@ -32,7 +32,6 @@ class HomematicSwitchItem extends AHomegearItem_1.AHomegearItem {
return Export_1.SwitchExport(this.itemId, this.label, this.stateTopic, this.stateFeedbackTopic, this.type);
}
processMessage(topic, payload) {
this.emit('somethingChanged');
switch (topic) {
case this.stateTopic:
this.state = payload;
@ -58,6 +57,7 @@ class HomematicSwitchItem extends AHomegearItem_1.AHomegearItem {
MqttDispatcher_1.mqttHandler.send(this.stateFeedbackTopic, this.state);
break;
}
this.emit('somethingChanged');
}
}
exports.HomematicSwitchItem = HomematicSwitchItem;