homebridge-melcloud-control 2.3.0-beta.20 → 2.3.0-beta.22
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 -2
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "MELCloud Control",
|
|
3
3
|
"name": "homebridge-melcloud-control",
|
|
4
|
-
"version": "2.3.0-beta.
|
|
4
|
+
"version": "2.3.0-beta.22",
|
|
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
|
@@ -652,13 +652,12 @@ class DeviceAta extends EventEmitter {
|
|
|
652
652
|
const value = this.currentOperationMode;
|
|
653
653
|
return value;
|
|
654
654
|
});
|
|
655
|
-
|
|
655
|
+
this.melCloudService.getCharacteristic(Characteristic.TargetHeaterCoolerState)
|
|
656
656
|
.setProps({
|
|
657
657
|
minValue: this.operationModeSetPropsMinValue,
|
|
658
658
|
maxValue: this.operationModeSetPropsMaxValue,
|
|
659
659
|
validValues: this.operationModeSetPropsValidValues
|
|
660
660
|
})
|
|
661
|
-
this.melCloudService.getCharacteristic(Characteristic.TargetHeaterCoolerState)
|
|
662
661
|
.onGet(async () => {
|
|
663
662
|
const value = this.targetOperationMode; //1 = HEAT, 2 = DRY 3 = COOL, 7 = FAN, 8 = AUTO
|
|
664
663
|
return value;
|