homebridge-melcloud-control 3.3.20-beta.1 → 3.3.20

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.3.20] - (25.09.2024)
20
+
21
+ ## Changes
22
+
23
+ - fix ATA characteristics warning after plugin restart if device in DRY or FAN mode
24
+ - cleanup
25
+
19
26
  ## [3.3.19] - (25.09.2024)
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.3.20-beta.1",
4
+ "version": "3.3.20",
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
@@ -971,7 +971,7 @@ class DeviceAta extends EventEmitter {
971
971
  validValues: this.accessory.operationModeSetPropsValidValues
972
972
  })
973
973
  .onGet(async () => {
974
- const value = this.accessory.targetOperationMode; //1 = HEAT, 2 = DRY 3 = COOL, 7 = FAN, 8 = AUTO
974
+ const value = this.accessory.targetOperationMode ?? 0; //1 = HEAT, 2 = DRY 3 = COOL, 7 = FAN, 8 = AUTO
975
975
  return value;
976
976
  })
977
977
  .onSet(async (value) => {
package/src/deviceerv.js CHANGED
@@ -717,7 +717,7 @@ class DeviceErv extends EventEmitter {
717
717
  validValues: this.accessory.operationModeSetPropsValidValues
718
718
  })
719
719
  .onGet(async () => {
720
- const value = this.accessory.targetOperationMode; //LOSSNAY, BYPASS, AUTO
720
+ const value = this.accessory.targetOperationMode ?? 0; //LOSSNAY, BYPASS, AUTO
721
721
  return value;
722
722
  })
723
723
  .onSet(async (value) => {
@@ -877,7 +877,7 @@ class DeviceErv extends EventEmitter {
877
877
  validValues: this.accessory.operationModeSetPropsValidValues
878
878
  })
879
879
  .onGet(async () => {
880
- const value = this.accessory.targetOperationMode; //LOSSNAY, BYPASS, AUTO
880
+ const value = this.accessory.targetOperationMode ?? 0; //LOSSNAY, BYPASS, AUTO
881
881
  return value;
882
882
  })
883
883
  .onSet(async (value) => {