iobroker-ucl 1.1.21 → 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 +1 -1
- package/shellyClasses.js +2 -2
- package/shellyClasses.ts +4 -3
- package/shellyFunctions.js +1 -1
- package/shellyFunctions.ts +2 -2
package/package.json
CHANGED
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(
|
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(
|
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[],
|
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(
|
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(
|
677
|
+
this.alexaLevelSchemeForOn.setDevice(adapter);
|
677
678
|
if (alexaLevelSchemeForOn.getAlexaName() != null) {
|
678
679
|
this.createState(alexaLevelSchemeForOn.getAlexaName());
|
679
680
|
}
|
package/shellyFunctions.js
CHANGED
@@ -633,7 +633,7 @@ function loadShellySteckdosen(adapter) {
|
|
633
633
|
var datenpunktPraefix = datenpunktKey.replaceAll(".category", "");
|
634
634
|
if (adapter.getState(datenpunktKey).val == deviceShellySteckdose) {
|
635
635
|
// @ts-ignore
|
636
|
-
|
636
|
+
cacheSteckdosenArray.push(new ShellySteckdose(adapter, adapter.getState(datenpunktPraefix + "." + attributeRawID).val, // [0] Device-ID (z.B. 1 --> In der Anzeige wird daraus "H01")
|
637
637
|
adapter.getState(datenpunktPraefix + "." + attributeEtage).val, // [1] Etage/Bereich (z.B. EG)
|
638
638
|
adapter.getState(datenpunktPraefix + "." + attributeRaum).val, // [2] Raum/Unterbereich (z.B. Wohnzimmer)
|
639
639
|
adapter.getState(datenpunktPraefix + "." + attributeDevice).val, // [3] Device (z.B. Stehlampe)
|
package/shellyFunctions.ts
CHANGED
@@ -718,8 +718,8 @@ export function loadShellySteckdosen(adapter: any) {
|
|
718
718
|
if (adapter.getState(datenpunktKey).val == deviceShellySteckdose) {
|
719
719
|
|
720
720
|
// @ts-ignore
|
721
|
-
|
722
|
-
adapter.
|
721
|
+
cacheSteckdosenArray.push(new ShellySteckdose(adapter,
|
722
|
+
adapter.getState(datenpunktPraefix + "." + attributeRawID).val, // [0] Device-ID (z.B. 1 --> In der Anzeige wird daraus "H01")
|
723
723
|
adapter.getState(datenpunktPraefix + "." + attributeEtage).val, // [1] Etage/Bereich (z.B. EG)
|
724
724
|
adapter.getState(datenpunktPraefix + "." + attributeRaum).val, // [2] Raum/Unterbereich (z.B. Wohnzimmer)
|
725
725
|
adapter.getState(datenpunktPraefix + "." + attributeDevice).val, // [3] Device (z.B. Stehlampe)
|