iobroker-ucl 1.1.21 → 1.1.22

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker-ucl",
3
- "version": "1.1.21",
3
+ "version": "1.1.22",
4
4
  "main": "main.js",
5
5
  "scripts": {
6
6
  "build": "tsc --build",
@@ -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
- cacheLampenWeissArray.push(new ShellySteckdose(adapter, adapter.cacheSteckdosenArray(datenpunktPraefix + "." + attributeRawID).val, // [0] Device-ID (z.B. 1 --> In der Anzeige wird daraus "H01")
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)
@@ -718,8 +718,8 @@ export function loadShellySteckdosen(adapter: any) {
718
718
  if (adapter.getState(datenpunktKey).val == deviceShellySteckdose) {
719
719
 
720
720
  // @ts-ignore
721
- cacheLampenWeissArray.push(new ShellySteckdose(adapter,
722
- adapter.cacheSteckdosenArray(datenpunktPraefix + "." + attributeRawID).val, // [0] Device-ID (z.B. 1 --> In der Anzeige wird daraus "H01")
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)