homebridge-melcloud-control 2.5.0-beta.35 → 2.5.0-beta.36
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/config.schema.json
CHANGED
|
@@ -1609,10 +1609,10 @@
|
|
|
1609
1609
|
"type": "tabarray",
|
|
1610
1610
|
"title": "{{ value.name }}",
|
|
1611
1611
|
"items": [
|
|
1612
|
-
"accounts[].
|
|
1613
|
-
"accounts[].
|
|
1614
|
-
"accounts[].
|
|
1615
|
-
"accounts[].
|
|
1612
|
+
"accounts[].devicesErv[].name",
|
|
1613
|
+
"accounts[].devicesErv[].id",
|
|
1614
|
+
"accounts[].devicesErv[].type",
|
|
1615
|
+
"accounts[].devicesErv[].displayMode"
|
|
1616
1616
|
]
|
|
1617
1617
|
},
|
|
1618
1618
|
{
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
const deviceId = deviceInfo.DeviceID;
|
|
161
161
|
const deviceName = deviceInfo.DeviceName;
|
|
162
162
|
|
|
163
|
-
const displayMode = pluginConfig[0].accounts[this.deviceIndex].
|
|
163
|
+
const displayMode = pluginConfig[0].accounts[this.deviceIndex].devicesAta[index].displayMode ?? 0;
|
|
164
164
|
const device = { name: deviceName, id: deviceId, type: deviceType, displayMode: displayMode };
|
|
165
165
|
const push = deviceType === 0 ? pluginConfig[0].accounts[this.deviceIndex].devicesAta.push(device) : false;
|
|
166
166
|
const push1 = deviceType === 1 ? pluginConfig[0].accounts[this.deviceIndex].devicesAtw.push(device) : false;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "MELCloud Control",
|
|
3
3
|
"name": "homebridge-melcloud-control",
|
|
4
|
-
"version": "2.5.0-beta.
|
|
4
|
+
"version": "2.5.0-beta.36",
|
|
5
5
|
"description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "grzegorz914",
|