homebridge-melcloud-control 3.8.3-beta.10 → 3.8.3-beta.11
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": "3.8.3-beta.
|
|
4
|
+
"version": "3.8.3-beta.11",
|
|
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
|
@@ -997,8 +997,8 @@ class DeviceAta extends EventEmitter {
|
|
|
997
997
|
defaultHeatingSetTemperature: deviceData.Device.DefaultHeatingSetTemperature ?? 20,
|
|
998
998
|
defaultCoolingSetTemperature: deviceData.Device.DefaultCoolingSetTemperature ?? 23,
|
|
999
999
|
fanSpeed: deviceData.Device.FanSpeed ?? 0,
|
|
1000
|
-
currentFanSpeed: 0,
|
|
1001
1000
|
actualFanSpeed: deviceData.Device.ActualFanSpeed,
|
|
1001
|
+
currentFanSpeed: 0,
|
|
1002
1002
|
automaticFanSpeed: deviceData.Device.AutomaticFanSpeed,
|
|
1003
1003
|
vaneVerticalSwing: deviceData.Device.VaneVerticalSwing,
|
|
1004
1004
|
vaneVerticalDirection: deviceData.Device.VaneVerticalDirection,
|
|
@@ -1104,8 +1104,8 @@ class DeviceAta extends EventEmitter {
|
|
|
1104
1104
|
.updateCharacteristic(Characteristic.CurrentTemperature, obj.roomTemperature)
|
|
1105
1105
|
.updateCharacteristic(Characteristic.LockPhysicalControls, obj.lockPhysicalControl)
|
|
1106
1106
|
.updateCharacteristic(Characteristic.TemperatureDisplayUnits, obj.useFahrenheit)
|
|
1107
|
-
.updateCharacteristic(Characteristic.CoolingThresholdTemperature, obj.defaultCoolingSetTemperature);
|
|
1108
|
-
const updateDefHeat = obj.modelSupportsHeat ? this.melCloudService.updateCharacteristic(Characteristic.HeatingThresholdTemperature, obj.defaultHeatingSetTemperature) : false;
|
|
1107
|
+
.updateCharacteristic(Characteristic.CoolingThresholdTemperature, obj.operationMode === 8 ? obj.defaultCoolingSetTemperature : obj.setTemperature);
|
|
1108
|
+
const updateDefHeat = obj.modelSupportsHeat ? this.melCloudService.updateCharacteristic(Characteristic.HeatingThresholdTemperature, obj.operationMode === 8 ? obj.defaultHeatingSetTemperature : obj.setTemperature) : false;
|
|
1109
1109
|
const updateRS = obj.modelSupportsFanSpeed ? this.melCloudService.updateCharacteristic(Characteristic.RotationSpeed, obj.currentFanSpeed) : false;
|
|
1110
1110
|
const updateSM = obj.swingFunction ? this.melCloudService.updateCharacteristic(Characteristic.SwingMode, obj.swingMode) : false;
|
|
1111
1111
|
};
|