homebridge-melcloud-control 4.10.10 → 4.10.11-beta.0
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/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "MELCloud Control",
|
|
3
3
|
"name": "homebridge-melcloud-control",
|
|
4
|
-
"version": "4.10.
|
|
4
|
+
"version": "4.10.11-beta.0",
|
|
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
|
@@ -394,7 +394,7 @@ class DeviceAta extends EventEmitter {
|
|
|
394
394
|
.onSet(async (value) => {
|
|
395
395
|
try {
|
|
396
396
|
const payload = {};
|
|
397
|
-
const fanKeySet = accountTypeMelCloud ? '
|
|
397
|
+
const fanKeySet = accountTypeMelCloud ? 'setFanSpeed' : 'setFanSpeed';
|
|
398
398
|
const max = numberOfFanSpeeds;
|
|
399
399
|
const minValue = supportsAutomaticFanSpeed ? 0 : 1;
|
|
400
400
|
const clampedValue = Math.min(Math.max(value, minValue), max);
|