iobroker-ucl 1.1.4 → 1.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/alexa.js +2 -1
- package/alexa.ts +2 -1
- package/package.json +1 -1
package/alexa.js
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.AlexaInputConverter = void 0;
|
4
4
|
var AlexaInputConverter = /** @class */ (function () {
|
5
|
-
function AlexaInputConverter(adapter, value, logContext) {
|
5
|
+
function AlexaInputConverter(adapter, value, logContext, callback) {
|
6
6
|
var _this = this;
|
7
7
|
this.actionTurnOn = false;
|
8
8
|
this.actionTurnOff = false;
|
@@ -64,6 +64,7 @@ var AlexaInputConverter = /** @class */ (function () {
|
|
64
64
|
adapter.log(" actionChangeCT: " + _this.actionChangeCT);
|
65
65
|
}
|
66
66
|
adapter.log("<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<");
|
67
|
+
callback();
|
67
68
|
}, 75);
|
68
69
|
}
|
69
70
|
AlexaInputConverter.prototype.isActionTurnedOn = function () {
|
package/alexa.ts
CHANGED
@@ -11,7 +11,7 @@ export class AlexaInputConverter {
|
|
11
11
|
private ctNew = -1;
|
12
12
|
private adapter:any;
|
13
13
|
|
14
|
-
constructor(adapter:any, value: string, logContext: string) {
|
14
|
+
constructor(adapter:any, value: string, logContext: string, callback) {
|
15
15
|
setTimeout(() => {
|
16
16
|
this.adapter = adapter;
|
17
17
|
this.value = value;
|
@@ -56,6 +56,7 @@ export class AlexaInputConverter {
|
|
56
56
|
adapter.log(" actionChangeCT: " + this.actionChangeCT);
|
57
57
|
}
|
58
58
|
adapter.log("<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<");
|
59
|
+
callback();
|
59
60
|
}, 75);
|
60
61
|
}
|
61
62
|
|