homebridge-melcloud-control 3.8.3-beta.7 → 3.8.3-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/deviceata.js +2 -2
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.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/deviceata.js
CHANGED
|
@@ -1007,7 +1007,7 @@ class DeviceAta extends EventEmitter {
|
|
|
1007
1007
|
swingMode: deviceData.Device.SwingFunction && deviceData.Device.VaneHorizontalDirection === 12 && deviceData.Device.VaneVerticalDirection === 7 ? 1 : 0,
|
|
1008
1008
|
lockPhysicalControl: deviceData.Device.ProhibitSetTemperature && deviceData.Device.ProhibitOperationMode && deviceData.Device.ProhibitPower ? 1 : 0,
|
|
1009
1009
|
useFahrenheit: this.useFahrenheit,
|
|
1010
|
-
temperatureUnit: this.
|
|
1010
|
+
temperatureUnit: this.temperatureUnit,
|
|
1011
1011
|
temperatureIncrement: deviceData.Device.TemperatureIncrement ?? 1,
|
|
1012
1012
|
hideVaneControls: deviceData.HideVaneControls ?? false,
|
|
1013
1013
|
hideDryModeControl: deviceData.HideDryModeControl ?? false,
|
|
@@ -1103,7 +1103,7 @@ class DeviceAta extends EventEmitter {
|
|
|
1103
1103
|
.updateCharacteristic(Characteristic.TemperatureDisplayUnits, obj.useFahrenheit)
|
|
1104
1104
|
.updateCharacteristic(Characteristic.CoolingThresholdTemperature, obj.defaultCoolingSetTemperature);
|
|
1105
1105
|
const updateDefHeat = obj.modelSupportsHeat ? this.melCloudService.updateCharacteristic(Characteristic.HeatingThresholdTemperature, obj.defaultHeatingSetTemperature) : false;
|
|
1106
|
-
const updateRS = obj.modelSupportsFanSpeed ? this.melCloudService.updateCharacteristic(Characteristic.RotationSpeed, obj.
|
|
1106
|
+
const updateRS = obj.modelSupportsFanSpeed ? this.melCloudService.updateCharacteristic(Characteristic.RotationSpeed, obj.currentFanSpeed) : false;
|
|
1107
1107
|
const updateSM = obj.swingFunction ? this.melCloudService.updateCharacteristic(Characteristic.SwingMode, obj.swingMode) : false;
|
|
1108
1108
|
};
|
|
1109
1109
|
break;
|