homebridge-melcloud-control 4.5.4-beta.0 → 4.5.4-beta.1
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 +1 -1
- package/src/melcloudata.js +0 -2
- package/src/melcloudatw.js +0 -1
- package/src/melclouderv.js +0 -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.5.4-beta.
|
|
4
|
+
"version": "4.5.4-beta.1",
|
|
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
|
@@ -1533,7 +1533,7 @@ class DeviceAta extends EventEmitter {
|
|
|
1533
1533
|
const numberOfFanSpeeds = deviceData.Device.NumberOfFanSpeeds;
|
|
1534
1534
|
const minTempHeat = deviceData.Device.MinTempHeat ?? 10;
|
|
1535
1535
|
const maxTempHeat = deviceData.Device.MaxTempHeat ?? 31;
|
|
1536
|
-
const minTempCoolDryAuto = deviceData.Device.MinTempAutomatic ?? 16;
|
|
1536
|
+
const minTempCoolDryAuto = accountTypeMelcloud ? 4 : deviceData.Device.MinTempAutomatic ?? 16;
|
|
1537
1537
|
const maxTempCoolDryAuto = deviceData.Device.MaxTempAutomatic ?? 31;
|
|
1538
1538
|
|
|
1539
1539
|
//device state
|
package/src/melcloudata.js
CHANGED
|
@@ -122,7 +122,6 @@ class MelCloudAta extends EventEmitter {
|
|
|
122
122
|
}
|
|
123
123
|
break;
|
|
124
124
|
default:
|
|
125
|
-
if (this.logDebug) this.emit('debug', `Incoming unknown unit id: ${parsedMessage}`);
|
|
126
125
|
return;
|
|
127
126
|
}
|
|
128
127
|
|
|
@@ -137,7 +136,6 @@ class MelCloudAta extends EventEmitter {
|
|
|
137
136
|
async updateState(type, deviceData) {
|
|
138
137
|
try {
|
|
139
138
|
if (this.accountType === 'melcloudhome') {
|
|
140
|
-
|
|
141
139
|
if (type === 'ws') {
|
|
142
140
|
deviceData.Device.OperationMode = AirConditioner.OperationModeMapEnumToEnumWs[deviceData.Device.OperationMode] ?? deviceData.Device.OperationMode;
|
|
143
141
|
deviceData.Device.VaneHorizontalDirection = AirConditioner.VaneHorizontalDirectionMapEnumToEnumWs[deviceData.Device.VaneHorizontalDirection] ?? deviceData.Device.VaneHorizontalDirection;
|
package/src/melcloudatw.js
CHANGED