iobroker-ucl 1.1.23 → 1.1.27

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker-ucl",
3
- "version": "1.1.23",
3
+ "version": "1.1.27",
4
4
  "main": "main.js",
5
5
  "scripts": {
6
6
  "build": "tsc --build",
package/shellyClasses.js CHANGED
@@ -387,10 +387,10 @@ var ShellyDimmer = /** @class */ (function (_super) {
387
387
  _this.levelSchemes = levelSchemes;
388
388
  _this.tasterBooleanOff = tasterBooleanOff;
389
389
  if (_this.alexaLevelSchemeForOn != null) {
390
- _this.alexaLevelSchemeForOn.setDevice(adapter);
391
390
  if (alexaLevelSchemeForOn.getAlexaName() != null) {
392
391
  _this.createState(alexaLevelSchemeForOn.getAlexaName());
393
392
  }
393
+ _this.alexaLevelSchemeForOn.setDevice(_this);
394
394
  }
395
395
  _this.tasterBooleanOn.forEach(function (tasterScheme) {
396
396
  if (tasterScheme.getTasterBooleanOnName() != null) {
package/shellyClasses.ts CHANGED
@@ -446,7 +446,7 @@ export class ShellyDimmer extends AbstractShelly {
446
446
  this.alexaActionNamesForOn = alexaActionNamesForOn;
447
447
  this.alexaActionNamesForOff = alexaActionNamesForOff;
448
448
 
449
- this.nachtbeleuchtung = nachtbeleuchtung;
449
+ this.nachtbeleuchtung = nachtbeleuchtung;
450
450
  this.turnOffExitHouseSummer = turnOffExitHouseSummer;
451
451
  this.turnOffExitHouseWinter = turnOffExitHouseWinter;
452
452
  this.turnOnEnterHouseSummer = turnOnEnterHouseSummer;
@@ -458,10 +458,10 @@ export class ShellyDimmer extends AbstractShelly {
458
458
  this.tasterBooleanOff = tasterBooleanOff;
459
459
 
460
460
  if (this.alexaLevelSchemeForOn != null) {
461
- this.alexaLevelSchemeForOn.setDevice(adapter);
462
461
  if (alexaLevelSchemeForOn.getAlexaName() != null) {
463
462
  this.createState(alexaLevelSchemeForOn.getAlexaName());
464
463
  }
464
+ this.alexaLevelSchemeForOn.setDevice(this);
465
465
  }
466
466
  this.tasterBooleanOn.forEach(tasterScheme => {
467
467
  if (tasterScheme.getTasterBooleanOnName() != null) {
@@ -512,7 +512,7 @@ export class ShellyDimmer extends AbstractShelly {
512
512
  this.adapter.createState(jarvisDatenpunkt, false, {
513
513
  name: jarvisDatenpunkt,
514
514
  desc: jarvisDatenpunkt,
515
- type: 'boolean',
515
+ type: 'boolean',
516
516
  read: true,
517
517
  write: true
518
518
  });