homebridge-melcloud-control 2.5.0-beta.34 → 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.
@@ -214,18 +214,19 @@
214
214
  "name": {
215
215
  "title": "Name",
216
216
  "type": "string",
217
+ "default": "",
217
218
  "required": true
218
219
  },
219
220
  "id": {
220
- "title": "Mode",
221
+ "title": "ID",
221
222
  "type": "integer",
222
- "description": "Device ID.",
223
+ "default": 0,
223
224
  "required": true
224
225
  },
225
226
  "type": {
226
227
  "title": "Type",
227
228
  "type": "integer",
228
- "description": "Device Type.",
229
+ "default": 0,
229
230
  "required": true
230
231
  },
231
232
  "displayMode": {
@@ -1592,6 +1593,28 @@
1592
1593
  "accounts[].devicesAta[].displayMode"
1593
1594
  ]
1594
1595
  },
1596
+ {
1597
+ "key": "accounts[].devicesAtw",
1598
+ "type": "tabarray",
1599
+ "title": "{{ value.name }}",
1600
+ "items": [
1601
+ "accounts[].devicesAtw[].name",
1602
+ "accounts[].devicesAtw[].id",
1603
+ "accounts[].devicesAtw[].type",
1604
+ "accounts[].devicesAtw[].displayMode"
1605
+ ]
1606
+ },
1607
+ {
1608
+ "key": "accounts[].devicesErv",
1609
+ "type": "tabarray",
1610
+ "title": "{{ value.name }}",
1611
+ "items": [
1612
+ "accounts[].devicesErv[].name",
1613
+ "accounts[].devicesErv[].id",
1614
+ "accounts[].devicesErv[].type",
1615
+ "accounts[].devicesErv[].displayMode"
1616
+ ]
1617
+ },
1595
1618
  {
1596
1619
  "key": "accounts[]",
1597
1620
  "type": "section",
@@ -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].devices[index].displayMode ?? 0;
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.34",
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",