homebridge-melcloud-control 3.8.2-beta.2 → 3.8.2-beta.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "MELCloud Control",
3
3
  "name": "homebridge-melcloud-control",
4
- "version": "3.8.2-beta.2",
4
+ "version": "3.8.2-beta.3",
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
@@ -1056,7 +1056,7 @@ class DeviceAta extends EventEmitter {
1056
1056
  temperatureUnit: this.useFahrenheit,
1057
1057
  temperatureIncrement: temperatureIncrement,
1058
1058
  operationModeSetPropsMinValue: 0,
1059
- operationModeSetPropsMaxValue: 2,
1059
+ operationModeSetPropsMaxValue: 3,
1060
1060
  operationModeSetPropsValidValues: [0, 1, 2],
1061
1061
  fanSpeedSetPropsMaxValue: 6
1062
1062
 
@@ -1205,6 +1205,8 @@ class DeviceAta extends EventEmitter {
1205
1205
  };
1206
1206
  break;
1207
1207
  };
1208
+
1209
+ //add obj to mielHvac
1208
1210
  this.mielHvac = obj;
1209
1211
 
1210
1212
  if (this.roomTemperatureSensorService) {
package/src/deviceatw.js CHANGED
@@ -1461,6 +1461,7 @@ class DeviceAtw extends EventEmitter {
1461
1461
  let temperatureSetPropsMinValue = -35;
1462
1462
  let temperatureSetPropsMaxValue = 100;
1463
1463
 
1464
+ //zones
1464
1465
  for (let i = 0; i < zonesCount; i++) {
1465
1466
  switch (this.displayMode) {
1466
1467
  case 1: //Heater Cooler
@@ -1736,7 +1737,7 @@ class DeviceAtw extends EventEmitter {
1736
1737
  };
1737
1738
  };
1738
1739
 
1739
- //update sensors characteristics
1740
+ //sensors
1740
1741
  for (let i = 0; i < zonesSensorsCount; i++) {
1741
1742
  switch (i) {
1742
1743
  case caseHeatPumpSensor: //Heat Pump
@@ -1864,6 +1865,8 @@ class DeviceAtw extends EventEmitter {
1864
1865
  };
1865
1866
  };
1866
1867
  };
1868
+
1869
+ //add obj to mielHvac
1867
1870
  this.mielHvac = obj;
1868
1871
 
1869
1872
  //update presets state
package/src/deviceerv.js CHANGED
@@ -1095,7 +1095,9 @@ class DeviceErv extends EventEmitter {
1095
1095
  };
1096
1096
  break;
1097
1097
  };
1098
- this.mielHvac = obj;
1098
+
1099
+ //add obj to mielHvac
1100
+ this.mielHvac = obj;
1099
1101
 
1100
1102
  //update temperature sensors
1101
1103
  if (this.roomTemperatureSensorService) {