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