homebridge-melcloud-control 4.3.3-beta.12 → 4.3.3-beta.13
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/melcloudata.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": "4.3.3-beta.
|
|
4
|
+
"version": "4.3.3-beta.13",
|
|
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/melcloudata.js
CHANGED
|
@@ -209,13 +209,13 @@ class MelCloudAta extends EventEmitter {
|
|
|
209
209
|
);
|
|
210
210
|
|
|
211
211
|
deviceData.Device.Power = settings.Power ?? deviceData.Device.Power;
|
|
212
|
-
deviceData.Device.OperationMode = settings.
|
|
213
|
-
deviceData.Device.RoomTemperature = settings.
|
|
212
|
+
deviceData.Device.OperationMode = settings.OperationMode ?? deviceData.Device.OperationMode;
|
|
213
|
+
deviceData.Device.RoomTemperature = settings.RoomTemperature ?? deviceData.Device.RoomTemperature;
|
|
214
214
|
deviceData.Device.SetTemperature = settings.SetTemperature ?? deviceData.Device.SetTemperature;
|
|
215
215
|
deviceData.Device.ActualFanSpeed = settings.ActualFanSpeed ?? deviceData.Device.ActualFanSpeed;
|
|
216
216
|
deviceData.Device.SetFanSpeed = settings.SetFanSpeed ?? deviceData.Device.SetFanSpeed;
|
|
217
|
-
deviceData.Device.VaneHorizontalDirection = settings.VaneHorizontalDirection ?? deviceData.Device.VaneHorizontalDirection;
|
|
218
217
|
deviceData.Device.VaneVerticalDirection = settings.VaneVerticalDirection ?? deviceData.Device.VaneVerticalDirection;
|
|
218
|
+
deviceData.Device.VaneHorizontalDirection = settings.VaneHorizontalDirection ?? deviceData.Device.VaneHorizontalDirection;
|
|
219
219
|
deviceData.HolidayMode.Enabled = settings.HolidayMode ?? deviceData.HolidayMode.Enabled;
|
|
220
220
|
updateState = true;
|
|
221
221
|
break;
|