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