iobroker-ucl 1.1.16 → 1.1.18
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/shellyFunctions.js +2 -3
- package/shellyFunctions.ts +3 -4
package/package.json
CHANGED
package/shellyFunctions.js
CHANGED
@@ -80,6 +80,7 @@ function createDatenpunktSingle(adapter, deviceRawId, attributeType, attributeNa
|
|
80
80
|
write: true
|
81
81
|
});
|
82
82
|
}
|
83
|
+
console.log("test");
|
83
84
|
// Sensor:
|
84
85
|
function createShellySensor(adapter, rawId, etage, raum, device, baseState) {
|
85
86
|
// Allgemein:
|
@@ -347,9 +348,7 @@ function createShellyLampe(adapter, rawId, etage, raum, device, baseState, alexa
|
|
347
348
|
}
|
348
349
|
exports.createShellyLampe = createShellyLampe;
|
349
350
|
// Steckdose:
|
350
|
-
function createShellySteckdose(adapter, rawId, etage, raum, device, baseState,
|
351
|
-
adapter.log("additionalStates4TurnOff Steckdose is: " + additionalStates4TurnOff);
|
352
|
-
adapter.log("additionalStates4TurnOff Steckdose is: " + additionalStates4TurnOff.length);
|
351
|
+
function createShellySteckdose(adapter, rawId, etage, raum, device, baseState, alexaSmartNamesForOn, alexaActionNamesForOn, alexaSmartNamesForOff, alexaActionNamesForOff, additionalStates4TurnOn, additionalStates4TurnOff, nachtbeleuchtung, turnOffExitHouseSummer, turnOffExitHouseWinter, turnOnEnterHouseSummer, turnOnEnterHouseWinter) {
|
353
352
|
// Allgemein:
|
354
353
|
createShellyDevice(adapter, rawId, etage, raum, device, baseState, deviceShellySteckdose);
|
355
354
|
// alexaSmartNamesForOn:string[]
|
package/shellyFunctions.ts
CHANGED
@@ -93,6 +93,8 @@ function createDatenpunktSingle(adapter: any, deviceRawId, attributeType, attrib
|
|
93
93
|
});
|
94
94
|
}
|
95
95
|
|
96
|
+
console.log("test");
|
97
|
+
|
96
98
|
// Sensor:
|
97
99
|
export function createShellySensor(adapter: any, rawId: number, etage: string, raum: string, device: string, baseState: string) {
|
98
100
|
|
@@ -377,14 +379,11 @@ export function createShellyLampe(adapter:any, rawId: number, etage: string, rau
|
|
377
379
|
}
|
378
380
|
|
379
381
|
// Steckdose:
|
380
|
-
export function createShellySteckdose(adapter:any, rawId: number, etage: string, raum: string, device: string, baseState: string,
|
382
|
+
export function createShellySteckdose(adapter:any, rawId: number, etage: string, raum: string, device: string, baseState: string, alexaSmartNamesForOn:string[],
|
381
383
|
alexaActionNamesForOn:string[], alexaSmartNamesForOff: string[],alexaActionNamesForOff: string[],
|
382
384
|
additionalStates4TurnOn:string[], additionalStates4TurnOff:string[],
|
383
385
|
nachtbeleuchtung:boolean, turnOffExitHouseSummer:boolean, turnOffExitHouseWinter:boolean, turnOnEnterHouseSummer:boolean, turnOnEnterHouseWinter:boolean) {
|
384
386
|
|
385
|
-
adapter.log("additionalStates4TurnOff Steckdose is: " + additionalStates4TurnOff);
|
386
|
-
adapter.log("additionalStates4TurnOff Steckdose is: " + additionalStates4TurnOff.length);
|
387
|
-
|
388
387
|
// Allgemein:
|
389
388
|
createShellyDevice(adapter, rawId, etage, raum, device, baseState, deviceShellySteckdose);
|
390
389
|
|