homebridge-melcloud-control 2.5.0-beta.33 → 2.5.0-beta.34

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.
@@ -1581,6 +1581,17 @@
1581
1581
  "type": "password"
1582
1582
  },
1583
1583
  "accounts[].language",
1584
+ {
1585
+ "key": "accounts[].devicesAta",
1586
+ "type": "tabarray",
1587
+ "title": "{{ value.name }}",
1588
+ "items": [
1589
+ "accounts[].devicesAta[].name",
1590
+ "accounts[].devicesAta[].id",
1591
+ "accounts[].devicesAta[].type",
1592
+ "accounts[].devicesAta[].displayMode"
1593
+ ]
1594
+ },
1584
1595
  {
1585
1596
  "key": "accounts[]",
1586
1597
  "type": "section",
@@ -83,8 +83,8 @@
83
83
  const setRemoveAtribute = j === i ? document.getElementById(`button${j}`).setAttribute("class", "btn btn-secondary") : document.getElementById(`button${j}`).setAttribute("class", "btn btn-primary");
84
84
  }
85
85
 
86
- const devicesCount = pluginConfig[0].accounts[i].devicesAta.length ?? 0;
87
- document.getElementById('info').innerHTML = `MELCloud configured ${devicesCount} ${devicesCount} ${devicesCount !== 1 ? 'devices' : 'device'}.`;
86
+ //const devicesCount = pluginConfig[0].accounts[i].devicesAta.length ?? 0;
87
+ //document.getElementById('info').innerHTML = `MELCloud configured ${devicesCount} ${devicesCount} ${devicesCount !== 1 ? 'devices' : 'device'}.`;
88
88
  document.getElementById('accountName').innerHTML = pluginConfig[0].accounts[i].name || '';
89
89
  document.getElementById('name').value = pluginConfig[0].accounts[i].name || '';
90
90
  document.getElementById('user').value = pluginConfig[0].accounts[i].user || '';
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.33",
4
+ "version": "2.5.0-beta.34",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",