fix typo
This commit is contained in:
5
dist/MaxWindowContact.js
vendored
5
dist/MaxWindowContact.js
vendored
@ -2,7 +2,7 @@
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const MqttDispatcher_1 = require("./MqttDispatcher");
|
||||
const AHomematicItem_1 = require("./AHomematicItem");
|
||||
// import { SwitchExport, ExportType } from './Export'
|
||||
const Export_1 = require("./Export");
|
||||
class MaxWindowContact extends AHomematicItem_1.AHomematicItem {
|
||||
getStateFeedbackTopic() {
|
||||
return this.stateFeedbackTopic;
|
||||
@ -17,6 +17,9 @@ class MaxWindowContact extends AHomematicItem_1.AHomematicItem {
|
||||
this.deviceFeedbackTopic
|
||||
];
|
||||
}
|
||||
exportItem() {
|
||||
return Export_1.ContactExport(this.itemId, this.label, this.stateFeedbackTopic);
|
||||
}
|
||||
processMessage(topic, payload) {
|
||||
if (payload == 'true') {
|
||||
this.state = 'OPEN';
|
||||
|
Reference in New Issue
Block a user