homebridge-melcloud-control 3.8.0 → 3.8.1

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/CHANGELOG.md CHANGED
@@ -16,6 +16,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
16
16
  - do not configure it manually, always using Config UI X
17
17
  - required Homebridge v2.0.0 and above
18
18
 
19
+ ## [3.8.1] - (10.05.2025)
20
+
21
+ ## Changes
22
+
23
+ - fix temperature sensors
24
+ - cleanup
25
+
19
26
  ## [3.8.0] - (05.05.2025)
20
27
 
21
28
  ## Changes
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.0",
4
+ "version": "3.8.1",
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/deviceatw.js CHANGED
@@ -22,8 +22,8 @@ class DeviceAtw extends EventEmitter {
22
22
  this.temperatureSensorFlow = device.temperatureSensorFlow || false;
23
23
  this.temperatureSensorReturn = device.temperatureSensorReturn || false;
24
24
  this.temperatureSensorFlowZone1 = device.temperatureSensorFlowZone1 || false;
25
- this.temperatureSensorReturnZone1 = device.temperatureSensorFlowWaterTank || false;
26
- this.temperatureSensorFlowWaterTank = device.temperatureSensorFlowZone1 || false;
25
+ this.temperatureSensorReturnZone1 = device.temperatureSensorReturnZone1 || false;
26
+ this.temperatureSensorFlowWaterTank = device.temperatureSensorFlowWaterTank || false;
27
27
  this.temperatureSensorReturnWaterTank = device.temperatureSensorReturnWaterTank || false;
28
28
  this.temperatureSensorFlowZone2 = device.temperatureSensorFlowZone2 || false;
29
29
  this.temperatureSensorReturnZone2 = device.temperatureSensorReturnZone2 || false;
@@ -1821,6 +1821,7 @@ class DeviceAtw extends EventEmitter {
1821
1821
  };
1822
1822
 
1823
1823
  //add value to sensors arrays
1824
+ this.accessory.zonesSensors[i].name = name;
1824
1825
  this.accessory.zonesSensors[i].roomTemperature = roomTemperature;
1825
1826
  this.accessory.zonesSensors[i].flowTemperature = flowTemperature;
1826
1827
  this.accessory.zonesSensors[i].returnTemperature = returnTemperature;