preset fix

This commit is contained in:
2018-04-06 23:38:08 +02:00
parent c503e31ee5
commit a5c629e331
8 changed files with 36 additions and 8 deletions

4
dist/AItem.js vendored
View File

@ -15,6 +15,8 @@ class AItem {
}
this.topicFirstPart = `dispatcher_ng/items/${this.floor}/${this.room}/${this.item}`;
}
startFunc() {
}
exportItem() {
return null;
}
@ -22,7 +24,7 @@ class AItem {
MqttDispatcher_1.mqttHandler.register(this.subscribeTopics, (topic, payload) => {
// logger.info(`item ${this.itemId}: ${topic}, ${payload}`)
this.processMessage(topic, payload);
});
}, () => { this.startFunc(); });
}
}
exports.AItem = AItem;