homebridge-melcloud-control 2.5.0-beta.84 → 2.5.0-beta.85

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.
@@ -670,6 +670,9 @@
670
670
  }
671
671
  }
672
672
  }
673
+ },
674
+ "condition": {
675
+ "functionBody": "return model.accounts[arrayIndices].ataDevices.every(device => device.id);"
673
676
  }
674
677
  },
675
678
  "atwDevices": {
@@ -1005,6 +1008,9 @@
1005
1008
  }
1006
1009
  }
1007
1010
  }
1011
+ },
1012
+ "condition": {
1013
+ "functionBody": "return model.accounts[arrayIndices].atwDevices.every(device => device.id);"
1008
1014
  }
1009
1015
  },
1010
1016
  "ervDevices": {
@@ -1568,10 +1574,7 @@
1568
1574
  }
1569
1575
  ]
1570
1576
  }
1571
- ],
1572
- "condition": {
1573
- "functionBody": "return model.accounts[arrayIndices].atwDevices.every(device => device.id);"
1574
- }
1577
+ ]
1575
1578
  },
1576
1579
  {
1577
1580
  "key": "accounts[]",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "MELCloud Control",
3
3
  "name": "homebridge-melcloud-control",
4
- "version": "2.5.0-beta.84",
4
+ "version": "2.5.0-beta.85",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",
package/src/deviceata.js CHANGED
@@ -24,7 +24,7 @@ class DeviceAta extends EventEmitter {
24
24
  this.heatDryFanMode = device.heatDryFanMode || 1; //NONE, HEAT, DRY, FAN
25
25
  this.coolDryFanMode = device.coolDryFanMode || 1; //NONE, COOL, DRY, FAN
26
26
  this.autoDryFanMode = device.autoDryFanMode || 1; //NONE, AUTO, DRY, FAN
27
- this.buttons = device.buttons || [];
27
+ this.buttons = device.buttonsSensors || [];
28
28
  this.disableLogInfo = account.disableLogInfo || false;
29
29
  this.disableLogDeviceInfo = account.disableLogDeviceInfo || false;
30
30
  this.enableDebugMode = account.enableDebugMode || false;
package/src/deviceatw.js CHANGED
@@ -28,7 +28,7 @@ class DeviceAtw extends EventEmitter {
28
28
  this.temperatureSensorFlowZone2 = device.temperatureSensorFlowZone2 || false;
29
29
  this.temperatureSensorReturnZone2 = device.temperatureSensorReturnZone2 || false;
30
30
  this.presetsEnabled = device.presets || false;
31
- this.buttons = device.buttons || [];
31
+ this.buttons = device.buttonsSensors || [];
32
32
  this.disableLogInfo = account.disableLogInfo || false;
33
33
  this.disableLogDeviceInfo = account.disableLogDeviceInfo || false;
34
34
  this.enableDebugMode = account.enableDebugMode || false;
package/src/deviceerv.js CHANGED
@@ -22,7 +22,7 @@ class DeviceErv extends EventEmitter {
22
22
  this.temperatureSensorOutdoor = device.temperatureSensorOutdoor || false;
23
23
  this.temperatureSensorSupply = device.temperatureSensorSupply || false;
24
24
  this.presetsEnabled = device.presets || false;
25
- this.buttons = device.buttons || [];
25
+ this.buttons = device.buttonsSensors || [];
26
26
  this.disableLogInfo = account.disableLogInfo || false;
27
27
  this.disableLogDeviceInfo = account.disableLogDeviceInfo || false;
28
28
  this.enableDebugMode = account.enableDebugMode || false;