homebridge-melcloud-control 2.3.0-beta.29 → 2.3.0-beta.30
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.
- package/package.json +1 -1
- 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.
|
|
4
|
+
"version": "2.3.0-beta.30",
|
|
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
|
@@ -717,9 +717,9 @@ class DeviceAta extends EventEmitter {
|
|
|
717
717
|
const numberOfFanSpeeds = this.numberOfFanSpeeds;
|
|
718
718
|
const swingFunction = this.swingFunction;
|
|
719
719
|
const hasOutdoorTemperature = this.hasOutdoorTemperature;
|
|
720
|
-
const
|
|
721
|
-
const
|
|
722
|
-
const
|
|
720
|
+
const autoDryFanMode = [deviceState.OperationMode, 8, modelSupportsDry ? 2 : 8, 7][this.autoDryFanMode]; //NONE, AUTO - 8, DRY - 2, FAN - 7
|
|
721
|
+
const heatDryFanMode = [deviceState.OperationMode, 1, modelSupportsDry ? 2 : 1, 7][this.heatDryFanMode]; //NONE, HEAT - 1, DRY - 2, FAN - 7
|
|
722
|
+
const coolDryFanMode = [deviceState.OperationMode, 3, modelSupportsDry ? 2 : 3, 7][this.coolDryFanMode]; //NONE, COOL - 3, DRY - 2, FAN - 7
|
|
723
723
|
const serviceName = `${deviceTypeText} ${accessoryName}`;
|
|
724
724
|
|
|
725
725
|
switch (displayMode) {
|