homebridge-melcloud-control 4.0.0-beta.516 → 4.0.0-beta.517
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.
|
@@ -241,7 +241,7 @@
|
|
|
241
241
|
const newDevices = { ata: [], ataPresets: [], atw: [], atwPresets: [], erv: [], ervPresets: [] };
|
|
242
242
|
const devicesByType = { ata: [], atw: [], erv: [] };
|
|
243
243
|
|
|
244
|
-
response.forEach(d => {
|
|
244
|
+
response.Devices.forEach(d => {
|
|
245
245
|
if (d.Type === 0) devicesByType.ata.push(d);
|
|
246
246
|
if (d.Type === 1) devicesByType.atw.push(d);
|
|
247
247
|
if (d.Type === 3) devicesByType.erv.push(d);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "MELCloud Control",
|
|
3
3
|
"name": "homebridge-melcloud-control",
|
|
4
|
-
"version": "4.0.0-beta.
|
|
4
|
+
"version": "4.0.0-beta.517",
|
|
5
5
|
"description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "grzegorz914",
|