homebridge-melcloud-control 4.10.14-beta.7 → 4.10.14-beta.8
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/deviceatw.js +1 -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.10.14-beta.
|
|
4
|
+
"version": "4.10.14-beta.8",
|
|
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/deviceatw.js
CHANGED
|
@@ -1783,7 +1783,7 @@ class DeviceAtw extends EventEmitter {
|
|
|
1783
1783
|
const roomTemperatureHeatPump = accountTypeMelCloud && supportsOutdoorTemperature ? outdoorTemperature : deviceData.Device.RoomTemperatureZone1; // fallback to room temp zone 1
|
|
1784
1784
|
const flowTemperatureHeatPump = deviceData.Device.FlowTemperature;
|
|
1785
1785
|
const returnTemperatureHeatPump = deviceData.Device.ReturnTemperature;
|
|
1786
|
-
const operationModeHeatPump = accountTypeMelCloud ? deviceData.Device.UnitStatus :
|
|
1786
|
+
const operationModeHeatPump = accountTypeMelCloud ? deviceData.Device.UnitStatus : [1, 0, 0, 1][operationMode]; //HEAT, COOL / STOP UNKNOWN HEAT COOL
|
|
1787
1787
|
|
|
1788
1788
|
//zone 1
|
|
1789
1789
|
const zone1Name = deviceData.Zone1Name ?? 'Zone 1';
|