homebridge-melcloud-control 3.1.0-beta.14 → 3.1.0-beta.16

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.
@@ -386,7 +386,7 @@
386
386
  "id": {
387
387
  "title": "ID",
388
388
  "type": "integer",
389
- "required": false
389
+ "required": true
390
390
  },
391
391
  "name": {
392
392
  "title": "Name",
@@ -449,10 +449,10 @@
449
449
  "description": "Enable/disable the accessory name as a prefix for button/sensor name.",
450
450
  "required": false
451
451
  }
452
+ },
453
+ "condition": {
454
+ "functionBody": "const presets = model.accounts[arrayIndices]?.ataDevices[arrayIndices]?.presets || []; return = presets.length > 0 && presets.every(preset => preset.id != null && preset.id !== '');"
452
455
  }
453
- },
454
- "condition": {
455
- "functionBody": "const presets = model.accounts[arrayIndices]?.ataDevices[arrayIndices]?.presets || []; return = presets.length > 0 && presets.every(preset => preset.id != null && preset.id !== '');"
456
456
  }
457
457
  },
458
458
  "buttonsSensors": {
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.14",
4
+ "version": "3.1.0-beta.16",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",