homebridge-melcloud-control 3.1.0-beta.4 → 3.1.0-beta.5
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.
|
@@ -166,6 +166,8 @@
|
|
|
166
166
|
erv: [],
|
|
167
167
|
ervPresets: [],
|
|
168
168
|
};
|
|
169
|
+
|
|
170
|
+
//info text
|
|
169
171
|
let textAta = 'ATA: 0';
|
|
170
172
|
let textAtaPresets = 'Presets: 0';
|
|
171
173
|
let textAtw = 'ATW: 0';
|
|
@@ -192,7 +194,7 @@
|
|
|
192
194
|
const deviceName = device.DeviceName;
|
|
193
195
|
const devicePresets = device.Presets ?? [];
|
|
194
196
|
|
|
195
|
-
//
|
|
197
|
+
//device ata
|
|
196
198
|
const deviceAta = {
|
|
197
199
|
id: deviceId,
|
|
198
200
|
type: deviceType,
|
|
@@ -243,7 +245,7 @@
|
|
|
243
245
|
const deviceName = device.DeviceName;
|
|
244
246
|
const devicePresets = device.Presets ?? [];
|
|
245
247
|
|
|
246
|
-
//
|
|
248
|
+
//device atw
|
|
247
249
|
const deviceAtw = {
|
|
248
250
|
id: deviceId,
|
|
249
251
|
type: deviceType,
|
|
@@ -292,12 +294,14 @@
|
|
|
292
294
|
});
|
|
293
295
|
|
|
294
296
|
//get device info fom devices erv
|
|
295
|
-
devicesByType.
|
|
297
|
+
devicesByType.erv.forEach((device, index) => {
|
|
296
298
|
const deviceId = device.DeviceID;
|
|
297
299
|
const deviceType = device.Type;
|
|
298
300
|
const deviceTypeText = "Energy Recovery Ventilation";
|
|
299
301
|
const deviceName = device.DeviceName;
|
|
300
302
|
const devicePresets = device.Presets ?? [];
|
|
303
|
+
|
|
304
|
+
//device erv
|
|
301
305
|
const deviceErv = {
|
|
302
306
|
id: deviceId,
|
|
303
307
|
type: deviceType,
|
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.0-beta.
|
|
4
|
+
"version": "3.1.0-beta.5",
|
|
5
5
|
"description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "grzegorz914",
|