homebridge-melcloud-control 4.2.6 → 4.2.7

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
@@ -22,6 +22,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
22
22
 
23
23
  - Do not use Homebridge UI > v5.5.0 because of break config.json
24
24
 
25
+ # [4.2.7] - (18.11.2025)
26
+
27
+ ## Changes
28
+
29
+ - fix [#220](https://github.com/grzegorz914/homebridge-melcloud-control/issues/220)
30
+
25
31
  # [4.2.6] - (18.11.2025)
26
32
 
27
33
  ## Changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "MELCloud Control",
3
3
  "name": "homebridge-melcloud-control",
4
- "version": "4.2.6",
4
+ "version": "4.2.7",
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
@@ -1842,7 +1842,7 @@ class DeviceAta extends EventEmitter {
1842
1842
  }
1843
1843
 
1844
1844
  //sensor
1845
- const characteristicType = scene.characteristicType;
1845
+ const characteristicType = button.characteristicType;
1846
1846
  this.buttonControlSensorServices?.[i]?.updateCharacteristic(characteristicType, button.state);
1847
1847
  });
1848
1848
  };
package/src/deviceatw.js CHANGED
@@ -2224,7 +2224,7 @@ class DeviceAtw extends EventEmitter {
2224
2224
  }
2225
2225
 
2226
2226
  //sensor
2227
- const characteristicType = scene.characteristicType;
2227
+ const characteristicType = button.characteristicType;
2228
2228
  this.buttonControlSensorServices?.[i]?.updateCharacteristic(characteristicType, button.state);
2229
2229
  });
2230
2230
  };
package/src/deviceerv.js CHANGED
@@ -1540,7 +1540,7 @@ class DeviceErv extends EventEmitter {
1540
1540
  }
1541
1541
 
1542
1542
  //sensor
1543
- const characteristicType = scene.characteristicType;
1543
+ const characteristicType = button.characteristicType;
1544
1544
  this.buttonControlSensorServices?.[i]?.updateCharacteristic(characteristicType, button.state);
1545
1545
  });
1546
1546
  };