homebridge-melcloud-control 4.0.0-beta.217 → 4.0.0-beta.219

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.
@@ -1851,7 +1851,7 @@
1851
1851
  "title": "{{ value.title }}",
1852
1852
  "items": [
1853
1853
  {
1854
- "key": "accounts[].ataDevices",
1854
+ "key": "accounts[]",
1855
1855
  "title": "Air Conditioner",
1856
1856
  "items": [
1857
1857
  {
@@ -1948,15 +1948,15 @@
1948
1948
  "functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].displayType > 0;"
1949
1949
  }
1950
1950
  }
1951
- ]
1952
- }
1953
- ],
1951
+ ],
1954
1952
  "condition": {
1955
- "functionBody": "return model.accounts[arrayIndices].ataDevices.length > 0;"
1953
+ "functionBody": "const id = model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].id; return id && id !== '0';"
1956
1954
  }
1955
+ }
1956
+ ]
1957
1957
  },
1958
1958
  {
1959
- "key": "accounts[].atwDevices",
1959
+ "key": "accounts[]",
1960
1960
  "title": "Heat Pump",
1961
1961
  "items": [
1962
1962
  {
@@ -2064,7 +2064,7 @@
2064
2064
  }
2065
2065
  },
2066
2066
  {
2067
- "key": "accounts[].atwDevices",
2067
+ "key": "accounts[]",
2068
2068
  "type": "tabarray",
2069
2069
  "title": "{{ value.title }}",
2070
2070
  "items": [],
@@ -2075,7 +2075,7 @@
2075
2075
  ]
2076
2076
  },
2077
2077
  {
2078
- "key": "accounts[].ervDevices",
2078
+ "key": "accounts[]",
2079
2079
  "title": "Energy Recovery Ventilation",
2080
2080
  "items": [
2081
2081
  {
@@ -2176,7 +2176,7 @@
2176
2176
  }
2177
2177
  },
2178
2178
  {
2179
- "key": "accounts[].ervDevices",
2179
+ "key": "accounts[]",
2180
2180
  "type": "tabarray",
2181
2181
  "title": "{{ value.title }}",
2182
2182
  "items": [],
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.0-beta.217",
4
+ "version": "4.0.0-beta.219",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",