add all existing items, homekit export
This commit is contained in:
4
dist/Forwarder.js
vendored
4
dist/Forwarder.js
vendored
@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const AItem_1 = require("./AItem");
|
||||
const MqttDispatcher_1 = require("./MqttDispatcher");
|
||||
class Forwarder extends AItem_1.AItem {
|
||||
constructor(floor, room, item, topicLastPart, targetTopics) {
|
||||
super(floor, room, item);
|
||||
constructor(floor, room, item, label, topicLastPart, targetTopics) {
|
||||
super(floor, room, item, label);
|
||||
this.inTopic = `${this.topicFirstPart}/${topicLastPart}`;
|
||||
this.subscribeTopics = [this.inTopic];
|
||||
this.targetTopics = targetTopics;
|
||||
|
Reference in New Issue
Block a user