homebridge-melcloud-control 3.0.7-beta.14 → 3.0.7-beta.17
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.
|
@@ -152,6 +152,9 @@
|
|
|
152
152
|
atw: [],
|
|
153
153
|
erv: []
|
|
154
154
|
};
|
|
155
|
+
let textAta = 'ATA: 0';
|
|
156
|
+
let textAtw = 'ATW: 0';
|
|
157
|
+
let textErv = 'ERV: 0';
|
|
155
158
|
|
|
156
159
|
switch (status) {
|
|
157
160
|
case 0:
|
|
@@ -161,9 +164,6 @@
|
|
|
161
164
|
const deviceId = device.DeviceID;
|
|
162
165
|
const deviceName = device.DeviceName;
|
|
163
166
|
const deviceTypeText = ["Air Conditioner", "Heat Pump", "Unknown", "Energy Recovery Ventilation"][device.Type];
|
|
164
|
-
let textAta = '';
|
|
165
|
-
let textAtw = '';
|
|
166
|
-
let textErv = '';
|
|
167
167
|
|
|
168
168
|
//config account keys
|
|
169
169
|
const accountKeys = Object.keys(pluginConfig[0].accounts[this.deviceIndex]);
|
|
@@ -190,7 +190,7 @@
|
|
|
190
190
|
const pushTypeAta = ataDeviceIdExist ? false : ataDevices.push(deviceAta);
|
|
191
191
|
const pushNewDevice = ataDeviceIdExist ? false : newDevices.ata.push(device);
|
|
192
192
|
const devicesCount = newDevices.ata.length;
|
|
193
|
-
textAta = `ATA: ${devicesCount}
|
|
193
|
+
textAta = `ATA: ${devicesCount},`
|
|
194
194
|
};
|
|
195
195
|
|
|
196
196
|
//devices atw
|
|
@@ -220,7 +220,7 @@
|
|
|
220
220
|
const pushTypeatw = atwDeviceIdExist ? false : atwDevices.push(deviceAtw);
|
|
221
221
|
const pushNewDevice = atwDeviceIdExist ? false : newDevices.atw.push(device);
|
|
222
222
|
const devicesCount = newDevices.ata.length;
|
|
223
|
-
textAtw = `ATW: ${devicesCount}
|
|
223
|
+
textAtw = `ATW: ${devicesCount},`
|
|
224
224
|
};
|
|
225
225
|
|
|
226
226
|
//devices erv
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "MELCloud Control",
|
|
3
3
|
"name": "homebridge-melcloud-control",
|
|
4
|
-
"version": "3.0.7-beta.
|
|
4
|
+
"version": "3.0.7-beta.17",
|
|
5
5
|
"description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "grzegorz914",
|