homebridge-melcloud-control 3.1.4-beta.1 → 3.1.4-beta.2
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.
- package/homebridge-ui/public/index.html +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
|
@@ -173,7 +173,7 @@
|
|
|
173
173
|
|
|
174
174
|
//get devices from melcloud by type
|
|
175
175
|
for (const deviceInMelcloud of devicesInMelCloud) {
|
|
176
|
-
const deviceType =
|
|
176
|
+
const deviceType = devicesInMelCloud.Type;
|
|
177
177
|
const pusDeviceTypeAta = deviceType === 0 ? devicesByTypeInMelCloud.ata.push(deviceInMelcloud) : false;
|
|
178
178
|
const pusDeviceTypeAtw = deviceType === 1 ? devicesByTypeInMelCloud.atw.push(deviceInMelcloud) : false;
|
|
179
179
|
const pusDeviceTypeErv = deviceType === 3 ? devicesByTypeInMelCloud.erv.push(deviceInMelcloud) : false;
|
package/index.js
CHANGED
|
@@ -220,7 +220,7 @@ class MelCloudPlatform {
|
|
|
220
220
|
});
|
|
221
221
|
};
|
|
222
222
|
} catch (error) {
|
|
223
|
-
log.error(`Account: ${accountName},
|
|
223
|
+
log.error(`Account: ${accountName}, Did finish launching error: ${error.message ?? error}`);
|
|
224
224
|
}
|
|
225
225
|
};
|
|
226
226
|
});
|
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.4-beta.
|
|
4
|
+
"version": "3.1.4-beta.2",
|
|
5
5
|
"description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "grzegorz914",
|