homebridge-melcloud-control 3.1.0-beta.19 → 3.1.0-beta.20

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.
Files changed (2) hide show
  1. package/config.schema.json +33 -33
  2. package/package.json +1 -1
@@ -453,6 +453,9 @@
453
453
  "required": false
454
454
  }
455
455
  }
456
+ },
457
+ "condition": {
458
+ "functionBody": "const presets = model.accounts[arrayIndices]?.ataDevices[arrayIndices]?.presets || []; return = presets.length > 0 && presets.every(preset => preset.id != null && preset.id !== '');"
456
459
  }
457
460
  },
458
461
  "buttonsSensors": {
@@ -1712,44 +1715,41 @@
1712
1715
  "accounts[].ataDevices[].displayMode",
1713
1716
  "accounts[].ataDevices[].heatDryFanMode",
1714
1717
  "accounts[].ataDevices[].coolDryFanMode",
1715
- "accounts[].ataDevices[].autoDryFanMode"
1716
- ]
1717
- },
1718
- {
1719
- "key": "accounts[].ataDevices[]",
1720
- "type": "section",
1721
- "title": "Presets",
1722
- "expandable": true,
1723
- "expanded": false,
1724
- "items": [
1718
+ "accounts[].ataDevices[].autoDryFanMode",
1725
1719
  {
1726
- "key": "accounts[].ataDevices[].presets",
1727
- "type": "tabarray",
1728
- "title": "{{ value.name }}",
1720
+ "key": "accounts[].ataDevices[]",
1721
+ "type": "section",
1722
+ "title": "Presets",
1723
+ "expandable": true,
1724
+ "expanded": false,
1729
1725
  "items": [
1730
1726
  {
1731
- "key": "accounts[].ataDevices[].presets[].id",
1732
- "readonly": true
1733
- },
1734
- "accounts[].ataDevices[].presets[].name",
1735
- "accounts[].ataDevices[].presets[].displayType",
1736
- "accounts[].ataDevices[].presets[].namePrefix"
1727
+ "key": "accounts[].ataDevices[].presets",
1728
+ "type": "tabarray",
1729
+ "title": "{{ value.name }}",
1730
+ "items": [
1731
+ {
1732
+ "key": "accounts[].ataDevices[].presets[].id",
1733
+ "readonly": true
1734
+ },
1735
+ "accounts[].ataDevices[].presets[].name",
1736
+ "accounts[].ataDevices[].presets[].displayType",
1737
+ "accounts[].ataDevices[].presets[].namePrefix"
1738
+ ]
1739
+ }
1740
+ ]
1741
+ },
1742
+ {
1743
+ "key": "accounts[].ataDevices[]",
1744
+ "type": "section",
1745
+ "title": "Temperature Sensors",
1746
+ "expandable": true,
1747
+ "expanded": false,
1748
+ "items": [
1749
+ "accounts[].ataDevices[].temperatureSensor",
1750
+ "accounts[].ataDevices[].temperatureSensorOutdoor"
1737
1751
  ]
1738
1752
  }
1739
- ],
1740
- "condition": {
1741
- "functionBody": "const presets = model.accounts[arrayIndices]?.ataDevices[arrayIndices]?.presets || []; return = presets.length > 0 && presets.every(preset => preset.id != null && preset.id !== '');"
1742
- }
1743
- },
1744
- {
1745
- "key": "accounts[].ataDevices[]",
1746
- "type": "section",
1747
- "title": "Temperature Sensors",
1748
- "expandable": true,
1749
- "expanded": false,
1750
- "items": [
1751
- "accounts[].ataDevices[].temperatureSensor",
1752
- "accounts[].ataDevices[].temperatureSensorOutdoor"
1753
1753
  ]
1754
1754
  },
1755
1755
  {
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.0-beta.19",
4
+ "version": "3.1.0-beta.20",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",