homebridge-melcloud-control 2.3.0-beta.1 → 2.3.0-beta.2

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 +3 -3
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "MELCloud Control",
3
3
  "name": "homebridge-melcloud-control",
4
- "version": "2.3.0-beta.1",
4
+ "version": "2.3.0-beta.2",
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
@@ -21,8 +21,8 @@ class DeviceAta extends EventEmitter {
21
21
  this.temperatureSensor = account.ataTemperatureSensor || false;
22
22
  this.temperatureSensorOutdoor = account.ataTemperatureSensorOutdoor || false;
23
23
  this.presetsEnabled = account.ataPresets || false;
24
- this.heatDryFanMode = account.ataHeatDryFanMode || 0; //NONE, HEAT, DRY, FAN
25
- this.autoDryFanMode = account.ataAutoDryFanMode || 0; //NONE, AUTO, DRY, FAN
24
+ this.heatDryFanMode = account.ataHeatDryFanMode || 1; //NONE, HEAT, DRY, FAN
25
+ this.autoDryFanMode = account.ataAutoDryFanMode || 1; //NONE, AUTO, DRY, FAN
26
26
  this.buttons = account.ataButtons || [];
27
27
  this.disableLogInfo = account.disableLogInfo || false;
28
28
  this.disableLogDeviceInfo = account.disableLogDeviceInfo || false;
@@ -626,7 +626,7 @@ class DeviceAta extends EventEmitter {
626
626
  const numberOfFanSpeeds = this.numberOfFanSpeeds;
627
627
  const swingFunction = this.swingFunction;
628
628
  const hasOutdoorTemperature = this.hasOutdoorTemperature;
629
- const heatDryFanMode = [deviceState.OperationMode, 8, modelSupportsDry ? 2 : deviceState.OperationMode, 7][this.heateDryFanMode]; //NONE, HEAT - 1, DRY - 2, FAN - 7
629
+ const heatDryFanMode = [deviceState.OperationMode, 8, modelSupportsDry ? 2 : deviceState.OperationMode, 7][this.heatDryFanMode]; //NONE, HEAT - 1, DRY - 2, FAN - 7
630
630
  const autoDryFanMode = [deviceState.OperationMode, 1, modelSupportsDry ? 2 : deviceState.OperationMode, 7][this.autoDryFanMode]; //NONE, AUTO - 8, DRY - 2, FAN - 7
631
631
  const serviceName = `${deviceTypeText} ${accessoryName}`;
632
632