debug keller licht
This commit is contained in:
2
dist/HomematicSwitchItem.js
vendored
2
dist/HomematicSwitchItem.js
vendored
@ -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;
|
||||
|
Reference in New Issue
Block a user