openhab export added
This commit is contained in:
4
dist/M433SwitchItem.js
vendored
4
dist/M433SwitchItem.js
vendored
@ -16,8 +16,8 @@ class M433SwitchItem extends AItem_1.AItem {
|
||||
this.offCode = offCode;
|
||||
this.type = type;
|
||||
}
|
||||
exportHomekit() {
|
||||
return Export_1.SwitchHomekitExport(this.itemId, this.label, this.stateTopic, this.stateFeedbackTopic, this.type);
|
||||
exportItem() {
|
||||
return Export_1.SwitchExport(this.itemId, this.label, this.stateTopic, this.stateFeedbackTopic, this.type);
|
||||
}
|
||||
processMessage(topic, payload) {
|
||||
this.state = payload;
|
||||
|
Reference in New Issue
Block a user