homebridge-melcloud-control 4.0.1-beta.2 → 4.0.1-beta.4
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 -0
- package/package.json +1 -1
|
@@ -257,7 +257,7 @@
|
|
|
257
257
|
|
|
258
258
|
const handleDevices = (devicesInMelCloud, devicesInConfig, typeString, newArr, newPresets) => {
|
|
259
259
|
devicesInMelCloud.forEach(device => {
|
|
260
|
-
const {
|
|
260
|
+
const { DeviceID: id, Type: type, DeviceName: name, Presets: presets = [] } = device;
|
|
261
261
|
const devObj = structuredClone({
|
|
262
262
|
id,
|
|
263
263
|
type,
|
package/index.js
CHANGED
|
@@ -133,6 +133,7 @@ class MelCloudPlatform {
|
|
|
133
133
|
const deviceExistInMelCloud = devicesList.Devices.some(dev => dev.DeviceID === device.id);
|
|
134
134
|
if (!deviceExistInMelCloud || !displayType) continue;
|
|
135
135
|
|
|
136
|
+
device.id = String(device.id);
|
|
136
137
|
const deviceName = device.name;
|
|
137
138
|
const deviceType = device.type;
|
|
138
139
|
const deviceTypeText = device.typeString;
|
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.1-beta.
|
|
4
|
+
"version": "4.0.1-beta.4",
|
|
5
5
|
"description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "grzegorz914",
|