iobroker-ucl 1.1.28 → 1.1.31
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/package.json +1 -1
- package/shellyClasses.js +2 -2
- package/shellyClasses.ts +2 -2
package/package.json
CHANGED
package/shellyClasses.js
CHANGED
@@ -387,8 +387,8 @@ var ShellyDimmer = /** @class */ (function (_super) {
|
|
387
387
|
_this.levelSchemes = levelSchemes;
|
388
388
|
_this.tasterBooleanOff = tasterBooleanOff;
|
389
389
|
if (_this.alexaLevelSchemeForOn != null) {
|
390
|
-
if (alexaLevelSchemeForOn.getAlexaName() != null) {
|
391
|
-
_this.createState(alexaLevelSchemeForOn.getAlexaName());
|
390
|
+
if (_this.alexaLevelSchemeForOn.getAlexaName() != null) {
|
391
|
+
_this.createState(_this.alexaLevelSchemeForOn.getAlexaName());
|
392
392
|
}
|
393
393
|
_this.alexaLevelSchemeForOn.setDevice(_this);
|
394
394
|
}
|
package/shellyClasses.ts
CHANGED
@@ -458,8 +458,8 @@ export class ShellyDimmer extends AbstractShelly {
|
|
458
458
|
this.tasterBooleanOff = tasterBooleanOff;
|
459
459
|
|
460
460
|
if (this.alexaLevelSchemeForOn != null) {
|
461
|
-
if (alexaLevelSchemeForOn.getAlexaName() != null) {
|
462
|
-
this.createState(alexaLevelSchemeForOn.getAlexaName());
|
461
|
+
if (this.alexaLevelSchemeForOn.getAlexaName() != null) {
|
462
|
+
this.createState(this.alexaLevelSchemeForOn.getAlexaName());
|
463
463
|
}
|
464
464
|
this.alexaLevelSchemeForOn.setDevice(this);
|
465
465
|
}
|