homebridge-melcloud-control 4.0.0-beta.477 → 4.0.0-beta.478

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.
@@ -2150,7 +2150,10 @@
2150
2150
  }
2151
2151
  ]
2152
2152
  }
2153
- ]
2153
+ ],
2154
+ "condition": {
2155
+ "functionBody": "return model.accounts[arrayIndices].type > 0;"
2156
+ }
2154
2157
  },
2155
2158
  {
2156
2159
  "key": "accounts[]",
@@ -2230,7 +2233,7 @@
2230
2233
  }
2231
2234
  ],
2232
2235
  "condition": {
2233
- "functionBody": "return model.accounts[arrayIndices].ataDevices.length > 0 || model.accounts[arrayIndices].atwDevices.length > 0 || model.accounts[arrayIndices].ervDevices.length > 0;"
2236
+ "functionBody": "return model.accounts[arrayIndices].type > 0 && (model.accounts[arrayIndices].ataDevices.length > 0 || model.accounts[arrayIndices].atwDevices.length > 0 || model.accounts[arrayIndices].ervDevices.length > 0);"
2234
2237
  }
2235
2238
  }
2236
2239
  ]
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.477",
4
+ "version": "4.0.0-beta.478",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",