homebridge-melcloud-control 2.5.0-beta.83 → 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": {
@@ -1250,6 +1256,9 @@
1250
1256
  }
1251
1257
  }
1252
1258
  }
1259
+ },
1260
+ "condition": {
1261
+ "functionBody": "return model.accounts[arrayIndices].ervDevices.every(device => device.id);"
1253
1262
  }
1254
1263
  },
1255
1264
  "refreshInterval": {
@@ -1565,10 +1574,7 @@
1565
1574
  }
1566
1575
  ]
1567
1576
  }
1568
- ],
1569
- "condition": {
1570
- "functionBody": "return model.accounts[arrayIndices].atwDevices.every(device => device.id);"
1571
- }
1577
+ ]
1572
1578
  },
1573
1579
  {
1574
1580
  "key": "accounts[]",
@@ -1628,10 +1634,7 @@
1628
1634
  }
1629
1635
  ]
1630
1636
  }
1631
- ],
1632
- "condition": {
1633
- "functionBody": "return model.accounts[arrayIndices].ervDevices.every(device => device.id);"
1634
- }
1637
+ ]
1635
1638
  },
1636
1639
  {
1637
1640
  "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.83",
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;