iobroker-ucl 1.0.50 → 1.0.51

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.
@@ -188,67 +188,67 @@ exports.getHomematicDevices = getHomematicDevices;
188
188
  function getHomematicDevicesAll(adapter) {
189
189
  //var homematicArray : Array<InstanceType<typeof AbstractHomematic>> = [];
190
190
  var homematicArray = [];
191
- this.getHomematicDevices(adapter, deviceHomematicWandthermostat).forEach(function (homematic) {
191
+ adapter.getHomematicDevices(adapter, deviceHomematicWandthermostat).forEach(function (homematic) {
192
192
  // @ts-ignore
193
193
  homematicArray.push(homematic);
194
194
  });
195
- this.getHomematicDevices(adapter, deviceHomematicPraesenzmelder).forEach(function (homematic) {
195
+ adapter.getHomematicDevices(adapter, deviceHomematicPraesenzmelder).forEach(function (homematic) {
196
196
  // @ts-ignore
197
197
  homematicArray.push(homematic);
198
198
  });
199
- this.getHomematicDevices(adapter, deviceHomematicWetterstation).forEach(function (homematic) {
199
+ adapter.getHomematicDevices(adapter, deviceHomematicWetterstation).forEach(function (homematic) {
200
200
  // @ts-ignore
201
201
  homematicArray.push(homematic);
202
202
  });
203
- this.getHomematicDevices(adapter, deviceHomematicDoor).forEach(function (homematic) {
203
+ adapter.getHomematicDevices(adapter, deviceHomematicDoor).forEach(function (homematic) {
204
204
  // @ts-ignore
205
205
  homematicArray.push(homematic);
206
206
  });
207
- this.getHomematicDevices(adapter, deviceHomematicRollladen).forEach(function (homematic) {
207
+ adapter.getHomematicDevices(adapter, deviceHomematicRollladen).forEach(function (homematic) {
208
208
  // @ts-ignore
209
209
  homematicArray.push(homematic);
210
210
  });
211
- this.getHomematicDevices(adapter, deviceHomematicWandschalter).forEach(function (homematic) {
211
+ adapter.getHomematicDevices(adapter, deviceHomematicWandschalter).forEach(function (homematic) {
212
212
  // @ts-ignore
213
213
  homematicArray.push(homematic);
214
214
  });
215
- this.getHomematicDevices(adapter, deviceHomematicFussbodenheizung).forEach(function (homematic) {
215
+ adapter.getHomematicDevices(adapter, deviceHomematicFussbodenheizung).forEach(function (homematic) {
216
216
  // @ts-ignore
217
217
  homematicArray.push(homematic);
218
218
  });
219
- this.getHomematicDevices(adapter, deviceHomematicWandtaster).forEach(function (homematic) {
219
+ adapter.getHomematicDevices(adapter, deviceHomematicWandtaster).forEach(function (homematic) {
220
220
  // @ts-ignore
221
221
  homematicArray.push(homematic);
222
222
  });
223
- this.getHomematicDevices(adapter, deviceHomematicAccessPoint).forEach(function (homematic) {
223
+ adapter.getHomematicDevices(adapter, deviceHomematicAccessPoint).forEach(function (homematic) {
224
224
  // @ts-ignore
225
225
  homematicArray.push(homematic);
226
226
  });
227
- this.getHomematicDevices(adapter, deviceHomematicTemperatursensor).forEach(function (homematic) {
227
+ adapter.getHomematicDevices(adapter, deviceHomematicTemperatursensor).forEach(function (homematic) {
228
228
  // @ts-ignore
229
229
  homematicArray.push(homematic);
230
230
  });
231
- this.getHomematicDevices(adapter, deviceHomematicRauchmelder).forEach(function (homematic) {
231
+ adapter.getHomematicDevices(adapter, deviceHomematicRauchmelder).forEach(function (homematic) {
232
232
  // @ts-ignore
233
233
  homematicArray.push(homematic);
234
234
  });
235
- this.getHomematicDevices(adapter, deviceHomematicFunkSchaltaktor).forEach(function (homematic) {
235
+ adapter.getHomematicDevices(adapter, deviceHomematicFunkSchaltaktor).forEach(function (homematic) {
236
236
  // @ts-ignore
237
237
  homematicArray.push(homematic);
238
238
  });
239
- this.getHomematicDevices(adapter, deviceHomematicWindow).forEach(function (homematic) {
239
+ adapter.getHomematicDevices(adapter, deviceHomematicWindow).forEach(function (homematic) {
240
240
  // @ts-ignore
241
241
  homematicArray.push(homematic);
242
242
  });
243
- this.getHomematicDevices(adapter, deviceHomematicSteckdose).forEach(function (homematic) {
243
+ adapter.getHomematicDevices(adapter, deviceHomematicSteckdose).forEach(function (homematic) {
244
244
  // @ts-ignore
245
245
  homematicArray.push(homematic);
246
246
  });
247
- this.getHomematicDevices(adapter, deviceHomematicHeizkoerper).forEach(function (homematic) {
247
+ adapter.getHomematicDevices(adapter, deviceHomematicHeizkoerper).forEach(function (homematic) {
248
248
  // @ts-ignore
249
249
  homematicArray.push(homematic);
250
250
  });
251
- this.getHomematicDevices(adapter, deviceHomematicDimmer).forEach(function (homematic) {
251
+ adapter.getHomematicDevices(adapter, deviceHomematicDimmer).forEach(function (homematic) {
252
252
  // @ts-ignore
253
253
  homematicArray.push(homematic);
254
254
  });
@@ -194,67 +194,67 @@ export function getHomematicDevicesAll(adapter: any) {
194
194
  var homematicArray = [];
195
195
 
196
196
 
197
- this.getHomematicDevices(adapter, deviceHomematicWandthermostat).forEach(homematic => {
197
+ adapter.getHomematicDevices(adapter, deviceHomematicWandthermostat).forEach(homematic => {
198
198
  // @ts-ignore
199
199
  homematicArray.push(homematic);
200
200
  });
201
- this.getHomematicDevices(adapter, deviceHomematicPraesenzmelder).forEach(homematic => {
201
+ adapter.getHomematicDevices(adapter, deviceHomematicPraesenzmelder).forEach(homematic => {
202
202
  // @ts-ignore
203
203
  homematicArray.push(homematic);
204
204
  });
205
- this.getHomematicDevices(adapter, deviceHomematicWetterstation).forEach(homematic => {
205
+ adapter.getHomematicDevices(adapter, deviceHomematicWetterstation).forEach(homematic => {
206
206
  // @ts-ignore
207
207
  homematicArray.push(homematic);
208
208
  });
209
- this.getHomematicDevices(adapter, deviceHomematicDoor).forEach(homematic => {
209
+ adapter.getHomematicDevices(adapter, deviceHomematicDoor).forEach(homematic => {
210
210
  // @ts-ignore
211
211
  homematicArray.push(homematic);
212
212
  });
213
- this.getHomematicDevices(adapter, deviceHomematicRollladen).forEach(homematic => {
213
+ adapter.getHomematicDevices(adapter, deviceHomematicRollladen).forEach(homematic => {
214
214
  // @ts-ignore
215
215
  homematicArray.push(homematic);
216
216
  });
217
- this.getHomematicDevices(adapter, deviceHomematicWandschalter).forEach(homematic => {
217
+ adapter.getHomematicDevices(adapter, deviceHomematicWandschalter).forEach(homematic => {
218
218
  // @ts-ignore
219
219
  homematicArray.push(homematic);
220
220
  });
221
- this.getHomematicDevices(adapter, deviceHomematicFussbodenheizung).forEach(homematic => {
221
+ adapter.getHomematicDevices(adapter, deviceHomematicFussbodenheizung).forEach(homematic => {
222
222
  // @ts-ignore
223
223
  homematicArray.push(homematic);
224
224
  });
225
- this.getHomematicDevices(adapter, deviceHomematicWandtaster).forEach(homematic => {
225
+ adapter.getHomematicDevices(adapter, deviceHomematicWandtaster).forEach(homematic => {
226
226
  // @ts-ignore
227
227
  homematicArray.push(homematic);
228
228
  });
229
- this.getHomematicDevices(adapter, deviceHomematicAccessPoint).forEach(homematic => {
229
+ adapter.getHomematicDevices(adapter, deviceHomematicAccessPoint).forEach(homematic => {
230
230
  // @ts-ignore
231
231
  homematicArray.push(homematic);
232
232
  });
233
- this.getHomematicDevices(adapter, deviceHomematicTemperatursensor).forEach(homematic => {
233
+ adapter.getHomematicDevices(adapter, deviceHomematicTemperatursensor).forEach(homematic => {
234
234
  // @ts-ignore
235
235
  homematicArray.push(homematic);
236
236
  });
237
- this.getHomematicDevices(adapter, deviceHomematicRauchmelder).forEach(homematic => {
237
+ adapter.getHomematicDevices(adapter, deviceHomematicRauchmelder).forEach(homematic => {
238
238
  // @ts-ignore
239
239
  homematicArray.push(homematic);
240
240
  });
241
- this.getHomematicDevices(adapter, deviceHomematicFunkSchaltaktor).forEach(homematic => {
241
+ adapter.getHomematicDevices(adapter, deviceHomematicFunkSchaltaktor).forEach(homematic => {
242
242
  // @ts-ignore
243
243
  homematicArray.push(homematic);
244
244
  });
245
- this.getHomematicDevices(adapter, deviceHomematicWindow).forEach(homematic => {
245
+ adapter.getHomematicDevices(adapter, deviceHomematicWindow).forEach(homematic => {
246
246
  // @ts-ignore
247
247
  homematicArray.push(homematic);
248
248
  });
249
- this.getHomematicDevices(adapter, deviceHomematicSteckdose).forEach(homematic => {
249
+ adapter.getHomematicDevices(adapter, deviceHomematicSteckdose).forEach(homematic => {
250
250
  // @ts-ignore
251
251
  homematicArray.push(homematic);
252
252
  });
253
- this.getHomematicDevices(adapter, deviceHomematicHeizkoerper).forEach(homematic => {
253
+ adapter.getHomematicDevices(adapter, deviceHomematicHeizkoerper).forEach(homematic => {
254
254
  // @ts-ignore
255
255
  homematicArray.push(homematic);
256
256
  });
257
- this.getHomematicDevices(adapter, deviceHomematicDimmer).forEach(homematic => {
257
+ adapter.getHomematicDevices(adapter, deviceHomematicDimmer).forEach(homematic => {
258
258
  // @ts-ignore
259
259
  homematicArray.push(homematic);
260
260
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker-ucl",
3
- "version": "1.0.50",
3
+ "version": "1.0.51",
4
4
  "main": "main.js",
5
5
  "scripts": {
6
6
  "build": "tsc --build",
@@ -890,43 +890,43 @@ function getZigbeeDevices(adapter, filterCategory) {
890
890
  exports.getZigbeeDevices = getZigbeeDevices;
891
891
  function getZigbeeDevicesAll(adapter) {
892
892
  var zigbeeArray = [];
893
- this.getZigbeeDevices(adapter, deviceZigbeeSteckdose).forEach(function (homematic) {
893
+ adapter.getZigbeeDevices(adapter, deviceZigbeeSteckdose).forEach(function (homematic) {
894
894
  // @ts-ignore
895
895
  zigbeeArray.push(homematic);
896
896
  });
897
- this.getZigbeeDevices(adapter, deviceZigbeeBewegungsmelder).forEach(function (homematic) {
897
+ adapter.getZigbeeDevices(adapter, deviceZigbeeBewegungsmelder).forEach(function (homematic) {
898
898
  // @ts-ignore
899
899
  zigbeeArray.push(homematic);
900
900
  });
901
- this.getZigbeeDevices(adapter, deviceZigbeeLampeRGB).forEach(function (homematic) {
901
+ adapter.getZigbeeDevices(adapter, deviceZigbeeLampeRGB).forEach(function (homematic) {
902
902
  // @ts-ignore
903
903
  zigbeeArray.push(homematic);
904
904
  });
905
- this.getZigbeeDevices(adapter, deviceZigbeeLampeWeiss).forEach(function (homematic) {
905
+ adapter.getZigbeeDevices(adapter, deviceZigbeeLampeWeiss).forEach(function (homematic) {
906
906
  // @ts-ignore
907
907
  zigbeeArray.push(homematic);
908
908
  });
909
- this.getZigbeeDevices(adapter, deviceZigbeeRauchmelder).forEach(function (homematic) {
909
+ adapter.getZigbeeDevices(adapter, deviceZigbeeRauchmelder).forEach(function (homematic) {
910
910
  // @ts-ignore
911
911
  zigbeeArray.push(homematic);
912
912
  });
913
- this.getZigbeeDevices(adapter, deviceZigbeeWandtaster).forEach(function (homematic) {
913
+ adapter.getZigbeeDevices(adapter, deviceZigbeeWandtaster).forEach(function (homematic) {
914
914
  // @ts-ignore
915
915
  zigbeeArray.push(homematic);
916
916
  });
917
- this.getZigbeeDevices(adapter, deviceZigbeeDosenrelais).forEach(function (homematic) {
917
+ adapter.getZigbeeDevices(adapter, deviceZigbeeDosenrelais).forEach(function (homematic) {
918
918
  // @ts-ignore
919
919
  zigbeeArray.push(homematic);
920
920
  });
921
- this.getZigbeeDevices(adapter, deviceZigbeeSchalter).forEach(function (homematic) {
921
+ adapter.getZigbeeDevices(adapter, deviceZigbeeSchalter).forEach(function (homematic) {
922
922
  // @ts-ignore
923
923
  zigbeeArray.push(homematic);
924
924
  });
925
- this.getZigbeeDevices(adapter, deviceZigbeeRepeater).forEach(function (homematic) {
925
+ adapter.getZigbeeDevices(adapter, deviceZigbeeRepeater).forEach(function (homematic) {
926
926
  // @ts-ignore
927
927
  zigbeeArray.push(homematic);
928
928
  });
929
- this.getZigbeeDevices(adapter, deviceZigbeeFenstersensor).forEach(function (homematic) {
929
+ adapter.getZigbeeDevices(adapter, deviceZigbeeFenstersensor).forEach(function (homematic) {
930
930
  // @ts-ignore
931
931
  zigbeeArray.push(homematic);
932
932
  });
@@ -1038,43 +1038,43 @@ export function getZigbeeDevices(adapter: any, filterCategory: string) {
1038
1038
  export function getZigbeeDevicesAll(adapter: any) {
1039
1039
  var zigbeeArray = [];
1040
1040
 
1041
- this.getZigbeeDevices(adapter, deviceZigbeeSteckdose).forEach(homematic => {
1041
+ adapter.getZigbeeDevices(adapter, deviceZigbeeSteckdose).forEach(homematic => {
1042
1042
  // @ts-ignore
1043
1043
  zigbeeArray.push(homematic);
1044
1044
  });
1045
- this.getZigbeeDevices(adapter, deviceZigbeeBewegungsmelder).forEach(homematic => {
1045
+ adapter.getZigbeeDevices(adapter, deviceZigbeeBewegungsmelder).forEach(homematic => {
1046
1046
  // @ts-ignore
1047
1047
  zigbeeArray.push(homematic);
1048
1048
  });
1049
- this.getZigbeeDevices(adapter, deviceZigbeeLampeRGB).forEach(homematic => {
1049
+ adapter.getZigbeeDevices(adapter, deviceZigbeeLampeRGB).forEach(homematic => {
1050
1050
  // @ts-ignore
1051
1051
  zigbeeArray.push(homematic);
1052
1052
  });
1053
- this.getZigbeeDevices(adapter, deviceZigbeeLampeWeiss).forEach(homematic => {
1053
+ adapter.getZigbeeDevices(adapter, deviceZigbeeLampeWeiss).forEach(homematic => {
1054
1054
  // @ts-ignore
1055
1055
  zigbeeArray.push(homematic);
1056
1056
  });
1057
- this.getZigbeeDevices(adapter, deviceZigbeeRauchmelder).forEach(homematic => {
1057
+ adapter.getZigbeeDevices(adapter, deviceZigbeeRauchmelder).forEach(homematic => {
1058
1058
  // @ts-ignore
1059
1059
  zigbeeArray.push(homematic);
1060
1060
  });
1061
- this.getZigbeeDevices(adapter, deviceZigbeeWandtaster).forEach(homematic => {
1061
+ adapter.getZigbeeDevices(adapter, deviceZigbeeWandtaster).forEach(homematic => {
1062
1062
  // @ts-ignore
1063
1063
  zigbeeArray.push(homematic);
1064
1064
  });
1065
- this.getZigbeeDevices(adapter, deviceZigbeeDosenrelais).forEach(homematic => {
1065
+ adapter.getZigbeeDevices(adapter, deviceZigbeeDosenrelais).forEach(homematic => {
1066
1066
  // @ts-ignore
1067
1067
  zigbeeArray.push(homematic);
1068
1068
  });
1069
- this.getZigbeeDevices(adapter, deviceZigbeeSchalter).forEach(homematic => {
1069
+ adapter.getZigbeeDevices(adapter, deviceZigbeeSchalter).forEach(homematic => {
1070
1070
  // @ts-ignore
1071
1071
  zigbeeArray.push(homematic);
1072
1072
  });
1073
- this.getZigbeeDevices(adapter, deviceZigbeeRepeater).forEach(homematic => {
1073
+ adapter.getZigbeeDevices(adapter, deviceZigbeeRepeater).forEach(homematic => {
1074
1074
  // @ts-ignore
1075
1075
  zigbeeArray.push(homematic);
1076
1076
  });
1077
- this.getZigbeeDevices(adapter, deviceZigbeeFenstersensor).forEach(homematic => {
1077
+ adapter.getZigbeeDevices(adapter, deviceZigbeeFenstersensor).forEach(homematic => {
1078
1078
  // @ts-ignore
1079
1079
  zigbeeArray.push(homematic);
1080
1080
  });