homebridge-melcloud-control 3.8.3-beta.5 → 3.8.3-beta.6
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 +7 -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.6",
|
|
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
|
@@ -1131,6 +1131,9 @@ class DeviceAta extends EventEmitter {
|
|
|
1131
1131
|
};
|
|
1132
1132
|
};
|
|
1133
1133
|
|
|
1134
|
+
//add obj to mielHvac
|
|
1135
|
+
this.mielHvac = obj;
|
|
1136
|
+
|
|
1134
1137
|
//update characteristics
|
|
1135
1138
|
if (this.melCloudService) {
|
|
1136
1139
|
this.melCloudService
|
|
@@ -1191,9 +1194,12 @@ class DeviceAta extends EventEmitter {
|
|
|
1191
1194
|
obj.operationModeSetPropsMaxValue = modelSupportsAuto && modelSupportsHeat ? 3 : !modelSupportsAuto && modelSupportsHeat ? 2 : modelSupportsAuto && !modelSupportsHeat ? 3 : 2;
|
|
1192
1195
|
obj.operationModeSetPropsValidValues = modelSupportsAuto && modelSupportsHeat ? [0, 1, 2, 3] : !modelSupportsAuto && modelSupportsHeat ? [0, 1, 2] : modelSupportsAuto && !modelSupportsHeat ? [0, 2, 3] : [0, 2];
|
|
1193
1196
|
|
|
1197
|
+
//add obj to mielHvac
|
|
1198
|
+
this.mielHvac = obj;
|
|
1199
|
+
|
|
1194
1200
|
//update characteristics
|
|
1195
1201
|
if (this.melCloudServiceT) {
|
|
1196
|
-
this.
|
|
1202
|
+
this.melCloudServiceT
|
|
1197
1203
|
.updateCharacteristic(Characteristic.CurrentHeatingCoolingState, obj.currentOperationMode)
|
|
1198
1204
|
.updateCharacteristic(Characteristic.TargetHeatingCoolingState, obj.targetOperationMode)
|
|
1199
1205
|
.updateCharacteristic(Characteristic.CurrentTemperature, roomTemperature)
|
|
@@ -1202,8 +1208,6 @@ class DeviceAta extends EventEmitter {
|
|
|
1202
1208
|
};
|
|
1203
1209
|
break;
|
|
1204
1210
|
};
|
|
1205
|
-
//add obj to mielHvac
|
|
1206
|
-
this.mielHvac = obj;
|
|
1207
1211
|
|
|
1208
1212
|
if (this.roomTemperatureSensorService) {
|
|
1209
1213
|
this.roomTemperatureSensorService
|