homebridge-melcloud-control 4.1.1 → 4.1.2-beta.1

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 +16 -4
  2. package/package.json +1 -1
@@ -399,25 +399,37 @@
399
399
  "title": "Frost Protection",
400
400
  "type": "boolean",
401
401
  "default": false,
402
- "description": "This enable extra frost protection sensor to use with automations in HomeKit app."
402
+ "description": "This enable extra frost protection sensor to use with automations in HomeKit app.",
403
+ "condition": {
404
+ "functionBody": "return model.accounts[arrayIndices[0]].type === melcloudhome;"
405
+ }
403
406
  },
404
407
  "overheatProtectionSensor": {
405
408
  "title": "Overheat Protection",
406
409
  "type": "boolean",
407
410
  "default": false,
408
- "description": "This enable extra overheat protection sensor to use with automations in HomeKit app."
411
+ "description": "This enable extra overheat protection sensor to use with automations in HomeKit app.",
412
+ "condition": {
413
+ "functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloudhome';"
414
+ }
409
415
  },
410
416
  "holidayModeSensor": {
411
417
  "title": "Holiday Mode",
412
418
  "type": "boolean",
413
419
  "default": false,
414
- "description": "This enable extra holiday mode sensor to use with automations in HomeKit app."
420
+ "description": "This enable extra holiday mode sensor to use with automations in HomeKit app.",
421
+ "condition": {
422
+ "functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloudhome';"
423
+ }
415
424
  },
416
425
  "sheduleSensor": {
417
426
  "title": "Shedule",
418
427
  "type": "boolean",
419
428
  "default": false,
420
- "description": "This enable extra shedule sensor to use with automations in HomeKit app."
429
+ "description": "This enable extra shedule sensor to use with automations in HomeKit app.",
430
+ "condition": {
431
+ "functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloudhome';"
432
+ }
421
433
  },
422
434
  "errorSensor": {
423
435
  "title": "Error",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "MELCloud Control",
3
3
  "name": "homebridge-melcloud-control",
4
- "version": "4.1.1",
4
+ "version": "4.1.2-beta.1",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",