homebridge-melcloud-control 4.2.6-beta.3 → 4.2.6-beta.4

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/package.json +1 -1
  2. package/src/deviceata.js +2 -1
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "MELCloud Control",
3
3
  "name": "homebridge-melcloud-control",
4
- "version": "4.2.6-beta.3",
4
+ "version": "4.2.6-beta.4",
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
@@ -1536,6 +1536,7 @@ class DeviceAta extends EventEmitter {
1536
1536
  obj.currentFanSpeed = speeds[setFanSpeed];
1537
1537
  obj.fanSpeedSetPropsMaxValue = supportsAutomaticFanSpeed ? max + 1 : max;
1538
1538
  }
1539
+ this.accessory = obj;
1539
1540
 
1540
1541
  //update characteristics
1541
1542
  this.melCloudService
@@ -1607,6 +1608,7 @@ class DeviceAta extends EventEmitter {
1607
1608
  obj.operationModeSetPropsMinValue = 0
1608
1609
  obj.operationModeSetPropsMaxValue = supportsAuto && supportsHeat ? 3 : !supportsAuto && supportsHeat ? 2 : supportsAuto && !supportsHeat ? 3 : 2;
1609
1610
  obj.operationModeSetPropsValidValues = supportsAuto && supportsHeat ? [0, 1, 2, 3] : !supportsAuto && supportsHeat ? [0, 1, 2] : supportsAuto && !supportsHeat ? [0, 2, 3] : [0, 2];
1611
+ this.accessory = obj;
1610
1612
 
1611
1613
  //update characteristics
1612
1614
  this.melCloudService
@@ -1617,7 +1619,6 @@ class DeviceAta extends EventEmitter {
1617
1619
  .updateCharacteristic(Characteristic.TemperatureDisplayUnits, obj.useFahrenheit);
1618
1620
  break;
1619
1621
  };
1620
- this.accessory = obj;
1621
1622
 
1622
1623
  //other sensors
1623
1624
  this.roomTemperatureSensorService?.updateCharacteristic(Characteristic.CurrentTemperature, roomTemperature);