homebridge-melcloud-control 4.0.0-beta.212 → 4.0.0-beta.214

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.
@@ -1328,7 +1328,7 @@
1328
1328
  ]
1329
1329
  },
1330
1330
  "condition": {
1331
- "functionBody": "return model.accounts[arrayIndices[0]].atwDevices[arrayIndices[1]].id != null && model.accounts[arrayIndices[0]].atwDevices[arrayIndices[1]].id != 0));"
1331
+ "functionBody": "const id = model.accounts[arrayIndices[0]].atwDevices[arrayIndices[1]].id; return id && id !== '0';"
1332
1332
  }
1333
1333
  },
1334
1334
  "ervDevices": {
@@ -1676,7 +1676,7 @@
1676
1676
  ]
1677
1677
  },
1678
1678
  "condition": {
1679
- "functionBody": "return model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].id != null && model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].id != 0));"
1679
+ "functionBody": "const id = model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].id; return id;"
1680
1680
  }
1681
1681
  },
1682
1682
  "refreshInterval": {
@@ -1954,7 +1954,7 @@
1954
1954
  }
1955
1955
  },
1956
1956
  {
1957
- "key": "accounts[]",
1957
+ "key": "accounts[].ataDevices",
1958
1958
  "type": "tabarray",
1959
1959
  "title": "{{ value.title }}",
1960
1960
  "items": [],
@@ -2073,7 +2073,7 @@
2073
2073
  }
2074
2074
  },
2075
2075
  {
2076
- "key": "accounts[]",
2076
+ "key": "accounts[].atwDevices",
2077
2077
  "type": "tabarray",
2078
2078
  "title": "{{ value.title }}",
2079
2079
  "items": [],
@@ -2185,7 +2185,7 @@
2185
2185
  }
2186
2186
  },
2187
2187
  {
2188
- "key": "accounts[]",
2188
+ "key": "accounts[].ervDevices",
2189
2189
  "type": "tabarray",
2190
2190
  "title": "{{ value.title }}",
2191
2191
  "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.212",
4
+ "version": "4.0.0-beta.214",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",