|
2 | 2 |
|
3 | 3 | ## [2025.10.1] - 2025-10-15 |
4 | 4 |
|
5 | | -### Added |
| 5 | +### Added |
| 6 | + |
6 | 7 | - Config flow now asks for device version (v1/v2 or v3) during setup so the integration can load the correct register map at runtime. |
7 | 8 | - Per-version register modules: `registers_v12.py` (v1/v2) and `registers_v3.py` (v3). The integration selects the right definitions based on the chosen version. |
8 | 9 |
|
9 | 10 | ### Fixed |
| 11 | + |
10 | 12 | - Options flow: removed deprecated explicit `config_entry` assignment (compatibility with HA 2025.12). |
11 | 13 | - Modbus client: properly handle CancelledError during shutdown; guard reconnection and client recreation to avoid NoneType errors and noisy ERROR logs on stop/reload. |
12 | 14 | - Efficiency sensors: skip calculations when denominators are zero or required inputs are missing to avoid division-by-zero errors. |
13 | 15 | - Energy sensors: ensure `state_class` is set to `total` or `total_increasing` for sensors with `device_class: energy`. |
14 | 16 |
|
15 | 17 | ### Notes |
16 | | -- `registers_v3.py` was generated from a CSV mapping but the registers are UNTESTED for v3 devices. Manual verification on actual hardware is REQUIRED before using v3 definitions in production. |
| 18 | + |
| 19 | +- `registers_v3.py` is generated from CSV mapping; entries are untested and require manual verification on v3 hardware before production use. |
17 | 20 |
|
18 | 21 | ## [2025.9.4] - 2025-09-22 |
19 | 22 |
|
20 | 23 | ### Added |
| 24 | + |
21 | 25 | - Configurable scan intervals (high, medium, low, very_low) through integration options. |
22 | 26 | - Options flow with translated titles and descriptions. |
23 | 27 |
|
24 | 28 | ### Changed |
| 29 | + |
25 | 30 | - Coordinator now dynamically adjusts polling interval based on the lowest configured scan interval. |
26 | 31 |
|
27 | 32 | ### Fixed |
| 33 | + |
28 | 34 | - Corrected calculation of Actual Conversion Efficiency to properly handle charging vs discharging, avoiding efficiencies above 100%. |
29 | 35 | - Properly handle Modbus client closing when disabling the integration. |
30 | 36 | - Correctly apply updated polling intervals after options are changed. |
31 | 37 |
|
32 | 38 | ## [2025.9.3] - 2025-09-16 |
33 | 39 |
|
34 | 40 | ### Added |
| 41 | + |
35 | 42 | - New `Actual Conversion Efficiency` calculated sensor to display the real-time charging/discharging efficiency as a percentage. |
36 | 43 |
|
37 | 44 | ### Fixed |
| 45 | + |
38 | 46 | - Fixed proper closing of Modbus connections when disabling and enabling entities, preventing multiple open sessions. |
39 | 47 | - Corrected state class for stored energy sensors to match energy device class requirements. |
40 | 48 | - Corrected calculation of Actual Conversion Efficiency to properly handle charging vs discharging, avoiding efficiencies above 100%. |
41 | 49 |
|
42 | 50 | ## [2025.9.2] - 2025-09-07 |
43 | 51 |
|
44 | 52 | ### Fixed |
| 53 | + |
45 | 54 | - Corrected scaling for `Number` entities, ensuring `min`, `max`, and current values reflect the defined scale. |
46 | 55 | - Updated logging to include scale and unit when values are updated in Home Assistant. |
47 | 56 |
|
48 | 57 | ## [2025.9.1] - 2025-09-05 |
49 | 58 |
|
50 | 59 | ### Fixed |
| 60 | + |
51 | 61 | - Switch writing fixed and now implemented with optimistic mode to handle delayed device response. |
52 | 62 | - Fixed PyModbus 3.x / Python 3.9 compatibility: replaced slave with device_id. |
53 | 63 |
|
54 | 64 | ## [2025.9.0] - 2025-09-03 |
55 | 65 |
|
56 | 66 | ### Added |
| 67 | + |
57 | 68 | - Dependency keys registration so required values are always fetched even if disabled in Home Assistant. |
58 | 69 | - Polling now handled centrally via the DataUpdateCoordinator. |
59 | 70 | - Dynamic polling intervals based on sensor definitions and dependencies. |
60 | 71 |
|
61 | 72 | ### Changed |
| 73 | + |
62 | 74 | - Calculated sensors (Round-Trip Efficiency Total, Round-Trip Efficiency Monthly, Stored Energy) with dependency handling |
63 | 75 | - Improved logging for dependency mapping, calculation, and skipping disabled entities. |
64 | 76 | - Cleaned up and refactored sensor calculation logic to be reusable and PEP8 compliant. |
65 | 77 |
|
66 | 78 | ## [2025.8.1] - 2025-08-12 |
67 | 79 |
|
68 | 80 | ### Added |
| 81 | + |
69 | 82 | - New Min Cell Voltage sensor (register 35043) to monitor minimum battery cell voltage |
70 | 83 | - New Max Cell Voltage sensor (register 36943) to monitor maximum battery cell voltage |
71 | 84 | - New Reset Device button (register 41000) to allow resetting the battery management system via Home Assistant |
72 | 85 |
|
73 | 86 | ### Changed |
| 87 | + |
74 | 88 | - Clean up code and improve overall code quality |
75 | 89 |
|
76 | 90 | ## [2025.8.0] - 2025-08-09 |
77 | 91 |
|
78 | 92 | ### Fixed |
| 93 | + |
79 | 94 | - WiFi strength sensor now reports correct negative dBm values |
80 | 95 | - Corrected cell temperature reading after BMS firmware version 213 |
81 | 96 |
|
|
0 commit comments