iobroker-ucl 1.2.70 → 1.2.71
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 +3 -0
- package/shellyFunctions.ts +3 -0
package/package.json
CHANGED
package/shellyFunctions.js
CHANGED
@@ -511,14 +511,17 @@ export function loadShellyLampenRGB(adapter: any) {
|
|
511
511
|
}*/
|
512
512
|
var cacheDimmerArray = null;
|
513
513
|
function loadShellyDimmer(adapter) {
|
514
|
+
adapter.log("loadShelly Modul inside");
|
514
515
|
if (cacheDimmerArray != null) {
|
515
516
|
return cacheDimmerArray;
|
516
517
|
}
|
518
|
+
adapter.log("loadShelly Modul inside_b");
|
517
519
|
// @ts-ignore
|
518
520
|
cacheDimmerArray = [];
|
519
521
|
adapter.$('state[id=0_userdata.0.devices.shelly.*.*.category]').each(function (datenpunktKey) {
|
520
522
|
var datenpunktPraefix = datenpunktKey.replaceAll(".category", "");
|
521
523
|
if (adapter.getState(datenpunktKey).val == deviceShellyDimmer) {
|
524
|
+
adapter.log("loadShelly Modul inside_c" + datenpunktKey);
|
522
525
|
// Einschalt-Scheme:
|
523
526
|
var alexaOnScheme = null;
|
524
527
|
if (adapter.getState(datenpunktPraefix + "." + attributeDimmer_alexaScheme_aktiv).val == true) {
|
package/shellyFunctions.ts
CHANGED
@@ -554,15 +554,18 @@ export function loadShellyLampenRGB(adapter: any) {
|
|
554
554
|
|
555
555
|
var cacheDimmerArray = null;
|
556
556
|
export function loadShellyDimmer(adapter: any) {
|
557
|
+
adapter.log("loadShelly Modul inside");
|
557
558
|
if (cacheDimmerArray != null) {
|
558
559
|
return cacheDimmerArray;
|
559
560
|
}
|
561
|
+
adapter.log("loadShelly Modul inside_b");
|
560
562
|
|
561
563
|
// @ts-ignore
|
562
564
|
cacheDimmerArray = [];
|
563
565
|
adapter.$('state[id=0_userdata.0.devices.shelly.*.*.category]').each(datenpunktKey => {
|
564
566
|
var datenpunktPraefix = datenpunktKey.replaceAll(".category", "");
|
565
567
|
if (adapter.getState(datenpunktKey).val == deviceShellyDimmer) {
|
568
|
+
adapter.log("loadShelly Modul inside_c" + datenpunktKey);
|
566
569
|
|
567
570
|
|
568
571
|
// Einschalt-Scheme:
|