homebridge-melcloud-control 4.10.14-beta.2 → 4.10.14-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": "4.10.14-beta.2",
4
+ "version": "4.10.14-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/constants.js CHANGED
@@ -121,7 +121,7 @@ export const AirConditioner = {
121
121
 
122
122
  export const HeatPump = {
123
123
  ZoneNameMapEnumToString: { 0: "Heat Pump", 1: "Zone 1", 2: "Hot Water", 3: "Zone 2" },
124
- UnitStatusMapEnumToString: { 0: "Heat", 2: "Cool" },
124
+ UnitStatusMapEnumToString: { 1: "Heat", 2: "Cool" },
125
125
  SystemMapEnumToStringInfo: { 0: "Off", 1: "On", 2: "Emergency Run", 3: "Test Run" },
126
126
  DefrostMapStringToEnum: { "Normal": 0, "Standby": 1, "Defrost": 2, "Waiting Restart": 3 },
127
127
  DefrostMapEnumToString: { 0: "Normal", 1: "Standby", 2: "Defrost", 3: "Waiting Restart" },
package/src/deviceatw.js CHANGED
@@ -1732,6 +1732,9 @@ class DeviceAtw extends EventEmitter {
1732
1732
  const supportsHeat = !!deviceData.Device[supportHeatKey];
1733
1733
  const supportsCool = !!deviceData.Device[supportCoolKey];
1734
1734
  const supportsOutdoorTemperature = !!deviceData.Device.HasOutdoorTemperature && this.functions.isValidValue(deviceData.Device.OutdoorTemperature);
1735
+ const supportsBiler = !!deviceData.Device.HasBoiler; // only melcloud home
1736
+ const supportsDualRoomTemperature = !!deviceData.Device.HasDualRoomTemperature; // only melcloud home
1737
+ const supportsWirelessRemote = !!deviceData.Device.HasWirelessRemote; // only melcloud home
1735
1738
  const heatCoolModes = supportsHeat && supportsCool ? 0 : supportsHeat ? 1 : supportsCool ? 2 : 3;
1736
1739
  const temperatureIncrement = deviceData.Device[tempStepKey] ?? 1;
1737
1740
  const minSetHeatFlowTemperature = 25;