iobroker-ucl 1.2.95 → 1.2.96
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 +0 -7
- package/shellyClasses.ts +3 -12
- package/shellyFunctions.js +0 -4
- package/shellyFunctions.ts +0 -5
package/package.json
CHANGED
package/shellyClasses.js
CHANGED
@@ -212,7 +212,6 @@ var ShellyLampeWeiss = /** @class */ (function (_super) {
|
|
212
212
|
_this.turnOffExitHouseWinter = turnOffExitHouseWinter;
|
213
213
|
_this.turnOnEnterHouseSummer = turnOnEnterHouseSummer;
|
214
214
|
_this.turnOnEnterHouseWinter = turnOnEnterHouseWinter;
|
215
|
-
adapter.log("here7777: " + additionalStates4TurnOff);
|
216
215
|
_this.nachtbeleuchtung = nachtbeleuchtung;
|
217
216
|
_this.channel = channel;
|
218
217
|
_this.alexaSmartNamesForOn = alexaSmartNamesForOn;
|
@@ -374,8 +373,6 @@ var ShellyDimmer = /** @class */ (function (_super) {
|
|
374
373
|
__extends(ShellyDimmer, _super);
|
375
374
|
function ShellyDimmer(adapter, id, etage, raum, device, baseState, alexaSmartNamesForOn, alexaActionNamesForOn, alexaLevelSchemeForOn, alexaSmartNamesForOff, alexaActionNamesForOff, levelSchemes, tasterBooleanOn, tasterBooleanOff, nachtbeleuchtung, turnOffExitHouseSummer, turnOffExitHouseWinter, turnOnEnterHouseSummer, turnOnEnterHouseWinter) {
|
376
375
|
var _this = _super.call(this, adapter, id, etage, raum, device, baseState) || this;
|
377
|
-
adapter.log("here:1 " + alexaLevelSchemeForOn);
|
378
|
-
//adapter.log("here:2 " + alexaLevelSchemeForOn.getAlexaName());
|
379
376
|
_this.alexaSmartNamesForOn = alexaSmartNamesForOn;
|
380
377
|
_this.alexaSmartNamesForOff = alexaSmartNamesForOff;
|
381
378
|
_this.alexaActionNamesForOn = alexaActionNamesForOn;
|
@@ -389,15 +386,11 @@ var ShellyDimmer = /** @class */ (function (_super) {
|
|
389
386
|
_this.tasterBooleanOn = tasterBooleanOn;
|
390
387
|
_this.levelSchemes = levelSchemes;
|
391
388
|
_this.tasterBooleanOff = tasterBooleanOff;
|
392
|
-
adapter.log("1111ff" + _this.alexaLevelSchemeForOn);
|
393
389
|
if (_this.alexaLevelSchemeForOn != null) {
|
394
|
-
adapter.log("1111a");
|
395
390
|
if (_this.alexaLevelSchemeForOn.getAlexaName() != null) {
|
396
|
-
adapter.log("1111b");
|
397
391
|
_this.createState(_this.alexaLevelSchemeForOn.getAlexaName());
|
398
392
|
}
|
399
393
|
_this.alexaLevelSchemeForOn.setDevice(_this);
|
400
|
-
adapter.log("1111c");
|
401
394
|
}
|
402
395
|
_this.tasterBooleanOn.forEach(function (tasterScheme) {
|
403
396
|
if (tasterScheme.getTasterBooleanOnName() != null) {
|
package/shellyClasses.ts
CHANGED
@@ -234,8 +234,6 @@ export class ShellyLampeWeiss extends AbstractShelly {
|
|
234
234
|
this.turnOnEnterHouseSummer = turnOnEnterHouseSummer;
|
235
235
|
this.turnOnEnterHouseWinter = turnOnEnterHouseWinter;
|
236
236
|
|
237
|
-
adapter.log("here7777: " + additionalStates4TurnOff);
|
238
|
-
|
239
237
|
this.nachtbeleuchtung = nachtbeleuchtung;
|
240
238
|
this.channel = channel;
|
241
239
|
this.alexaSmartNamesForOn = alexaSmartNamesForOn;
|
@@ -446,16 +444,12 @@ export class ShellyDimmer extends AbstractShelly {
|
|
446
444
|
turnOnEnterHouseSummer:boolean, turnOnEnterHouseWinter:boolean) {
|
447
445
|
super(adapter, id, etage, raum, device, baseState);
|
448
446
|
|
449
|
-
|
450
|
-
adapter.log("here:1 " + alexaLevelSchemeForOn);
|
451
|
-
//adapter.log("here:2 " + alexaLevelSchemeForOn.getAlexaName());
|
452
|
-
|
453
447
|
this.alexaSmartNamesForOn = alexaSmartNamesForOn;
|
454
448
|
this.alexaSmartNamesForOff = alexaSmartNamesForOff;
|
455
|
-
|
449
|
+
this.alexaActionNamesForOn = alexaActionNamesForOn;
|
456
450
|
this.alexaActionNamesForOff = alexaActionNamesForOff;
|
457
451
|
|
458
|
-
|
452
|
+
this.nachtbeleuchtung = nachtbeleuchtung;
|
459
453
|
this.turnOffExitHouseSummer = turnOffExitHouseSummer;
|
460
454
|
this.turnOffExitHouseWinter = turnOffExitHouseWinter;
|
461
455
|
this.turnOnEnterHouseSummer = turnOnEnterHouseSummer;
|
@@ -465,15 +459,12 @@ export class ShellyDimmer extends AbstractShelly {
|
|
465
459
|
this.tasterBooleanOn = tasterBooleanOn;
|
466
460
|
this.levelSchemes = levelSchemes;
|
467
461
|
this.tasterBooleanOff = tasterBooleanOff;
|
468
|
-
|
462
|
+
|
469
463
|
if (this.alexaLevelSchemeForOn != null) {
|
470
|
-
adapter.log("1111a");
|
471
464
|
if (this.alexaLevelSchemeForOn.getAlexaName() != null) {
|
472
|
-
adapter.log("1111b");
|
473
465
|
this.createState(this.alexaLevelSchemeForOn.getAlexaName());
|
474
466
|
}
|
475
467
|
this.alexaLevelSchemeForOn.setDevice(this);
|
476
|
-
adapter.log("1111c");
|
477
468
|
}
|
478
469
|
this.tasterBooleanOn.forEach(tasterScheme => {
|
479
470
|
if (tasterScheme.getTasterBooleanOnName() != null) {
|
package/shellyFunctions.js
CHANGED
@@ -512,18 +512,14 @@ export function loadShellyLampenRGB(adapter: any) {
|
|
512
512
|
}*/
|
513
513
|
var cacheDimmerArray = null;
|
514
514
|
function loadShellyDimmer(adapter) {
|
515
|
-
adapter.log("loadShelly Modul inside");
|
516
515
|
if (cacheDimmerArray != null) {
|
517
|
-
adapter.log("loadShelly Modul inside_b_ääääääääääääääääää" + cacheDimmerArray);
|
518
516
|
return cacheDimmerArray;
|
519
517
|
}
|
520
|
-
adapter.log("loadShelly Modul inside_b");
|
521
518
|
// @ts-ignore
|
522
519
|
cacheDimmerArray = [];
|
523
520
|
adapter.$('state[id=0_userdata.0.devices.shelly.*.*.category]').each(function (datenpunktKey) {
|
524
521
|
var datenpunktPraefix = datenpunktKey.replaceAll(".category", "");
|
525
522
|
if (adapter.getState(datenpunktKey).val == deviceShellyDimmer) {
|
526
|
-
adapter.log("loadShelly Modul inside_c" + datenpunktKey);
|
527
523
|
// Einschalt-Scheme:
|
528
524
|
var alexaOnScheme = null;
|
529
525
|
if (adapter.getState(datenpunktPraefix + "." + attributeDimmer_alexaScheme_aktiv).val == true) {
|
package/shellyFunctions.ts
CHANGED
@@ -555,20 +555,15 @@ export function loadShellyLampenRGB(adapter: any) {
|
|
555
555
|
|
556
556
|
var cacheDimmerArray = null;
|
557
557
|
export function loadShellyDimmer(adapter: any) {
|
558
|
-
adapter.log("loadShelly Modul inside");
|
559
558
|
if (cacheDimmerArray != null) {
|
560
|
-
adapter.log("loadShelly Modul inside_b_ääääääääääääääääää" + cacheDimmerArray);
|
561
559
|
return cacheDimmerArray;
|
562
560
|
}
|
563
|
-
adapter.log("loadShelly Modul inside_b");
|
564
561
|
|
565
562
|
// @ts-ignore
|
566
563
|
cacheDimmerArray = [];
|
567
564
|
adapter.$('state[id=0_userdata.0.devices.shelly.*.*.category]').each(datenpunktKey => {
|
568
565
|
var datenpunktPraefix = datenpunktKey.replaceAll(".category", "");
|
569
566
|
if (adapter.getState(datenpunktKey).val == deviceShellyDimmer) {
|
570
|
-
adapter.log("loadShelly Modul inside_c" + datenpunktKey);
|
571
|
-
|
572
567
|
|
573
568
|
// Einschalt-Scheme:
|
574
569
|
var alexaOnScheme = null;
|