iobroker-ucl 1.1.22 → 1.1.23

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.22",
3
+ "version": "1.1.23",
4
4
  "main": "main.js",
5
5
  "scripts": {
6
6
  "build": "tsc --build",
package/shellyClasses.js CHANGED
@@ -387,7 +387,7 @@ 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(_this);
390
+ _this.alexaLevelSchemeForOn.setDevice(adapter);
391
391
  if (alexaLevelSchemeForOn.getAlexaName() != null) {
392
392
  _this.createState(alexaLevelSchemeForOn.getAlexaName());
393
393
  }
@@ -564,7 +564,7 @@ var ShellyLampeRGB = /** @class */ (function (_super) {
564
564
  _this.levelSchemes = levelSchemes;
565
565
  _this.tasterBooleanOff = tasterBooleanOff;
566
566
  if (_this.alexaLevelSchemeForOn != null) {
567
- _this.alexaLevelSchemeForOn.setDevice(_this);
567
+ _this.alexaLevelSchemeForOn.setDevice(adapter);
568
568
  if (alexaLevelSchemeForOn.getAlexaName() != null) {
569
569
  _this.createState(alexaLevelSchemeForOn.getAlexaName());
570
570
  }
package/shellyClasses.ts CHANGED
@@ -226,7 +226,8 @@ export class ShellyLampeWeiss extends AbstractShelly {
226
226
  private turnOnEnterHouseSummer:boolean;
227
227
  private turnOnEnterHouseWinter:boolean;
228
228
 
229
- constructor(adapter:any, id: number, etage: string, raum: string, device: string, baseState: string, channel: number, alexaSmartNamesForOn:string[], alexaActionNamesForOn:string[], alexaSmartNamesForOff: string[],alexaActionNamesForOff: string[], additionalStates4TurnOn:string[], additionalStates4TurnOff:string[], nachtbeleuchtung:boolean, turnOffExitHouseSummer:boolean, turnOffExitHouseWinter:boolean, turnOnEnterHouseSummer:boolean, turnOnEnterHouseWinter:boolean) {
229
+ constructor(adapter:any, id: number, etage: string, raum: string, device: string, baseState: string, channel: number, alexaSmartNamesForOn:string[], alexaActionNamesForOn:string[], alexaSmartNamesForOff: string[],
230
+ alexaActionNamesForOff: string[], additionalStates4TurnOn:string[], additionalStates4TurnOff:string[], nachtbeleuchtung:boolean, turnOffExitHouseSummer:boolean, turnOffExitHouseWinter:boolean, turnOnEnterHouseSummer:boolean, turnOnEnterHouseWinter:boolean) {
230
231
  super(adapter, id, etage, raum, device, baseState);
231
232
  this.turnOffExitHouseSummer = turnOffExitHouseSummer;
232
233
  this.turnOffExitHouseWinter = turnOffExitHouseWinter;
@@ -457,7 +458,7 @@ export class ShellyDimmer extends AbstractShelly {
457
458
  this.tasterBooleanOff = tasterBooleanOff;
458
459
 
459
460
  if (this.alexaLevelSchemeForOn != null) {
460
- this.alexaLevelSchemeForOn.setDevice(this);
461
+ this.alexaLevelSchemeForOn.setDevice(adapter);
461
462
  if (alexaLevelSchemeForOn.getAlexaName() != null) {
462
463
  this.createState(alexaLevelSchemeForOn.getAlexaName());
463
464
  }
@@ -673,7 +674,7 @@ export class ShellyLampeRGB extends AbstractShelly {
673
674
  this.tasterBooleanOff = tasterBooleanOff;
674
675
 
675
676
  if (this.alexaLevelSchemeForOn != null) {
676
- this.alexaLevelSchemeForOn.setDevice(this);
677
+ this.alexaLevelSchemeForOn.setDevice(adapter);
677
678
  if (alexaLevelSchemeForOn.getAlexaName() != null) {
678
679
  this.createState(alexaLevelSchemeForOn.getAlexaName());
679
680
  }