homebridge-melcloud-control 3.1.3-beta.6 → 3.1.3-beta.7

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.
@@ -232,10 +232,6 @@
232
232
  pluginConfig[0].accounts[this.deviceIndex].ataDevices = newDevices.ata;
233
233
  textAta = `ATA: ${newDevices.ata.length}`
234
234
  };
235
- });
236
-
237
- devicesOnMelCloud.forEach((device, index) => {
238
- const deviceType = device.Type;
239
235
 
240
236
  //device atw
241
237
  if (deviceType === 1) {
@@ -276,7 +272,7 @@
276
272
  preset.namePrefix = false;
277
273
  newDevices.atwPresets.push(preset);
278
274
  };
279
- textAtwPresets = `ATA Presets: ${newDevices.atwPresets.length}`
275
+ textAtwPresets = `ATW Presets: ${newDevices.atwPresets.length}`
280
276
 
281
277
  deviceAtw.presets = deviceAtw.atwPresets;
282
278
  newDevices.ata.push(deviceAtw);
@@ -284,10 +280,6 @@
284
280
  pluginConfig[0].accounts[this.deviceIndex].atwDevices = newDevices.atw;
285
281
  textAtw = `ATW: ${newDevices.atw.length}`
286
282
  };
287
- });
288
-
289
- devicesOnMelCloud.forEach((device, index) => {
290
- const deviceType = device.Type;
291
283
 
292
284
  //device erv
293
285
  if (deviceType === 3) {
@@ -322,7 +314,7 @@
322
314
  preset.namePrefix = false;
323
315
  newDevices.atwPresets.push(preset);
324
316
  };
325
- textErvPresets = `ATA Presets: ${newDevices.ErvPresets.length}`
317
+ textErvPresets = `ERV Presets: ${newDevices.ErvPresets.length}`
326
318
 
327
319
  deviceErv.presets = deviceErv.ervPresets;
328
320
  newDevices.erv.push(deviceErv);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "MELCloud Control",
3
3
  "name": "homebridge-melcloud-control",
4
- "version": "3.1.3-beta.6",
4
+ "version": "3.1.3-beta.7",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",