Skip to content

Commit c0cbd04

Browse files
committed
update
1 parent 159b2b6 commit c0cbd04

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
11
# Changelog
22

3-
## [2025.9.5.b1] - 2025-09-23
3+
## [2025.10.1] - 2025-10-15
44

55
### Added
66
- Config flow now asks for device version (v1/v2 or v3) during setup so the integration can load the correct register map at runtime.
77
- 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.
88

9-
### Changed
10-
- General integration constants remain in `const.py`; large per-version register/entity definitions were moved to separate files for maintainability.
11-
12-
### Security / Stability
13-
- Modbus client handling: added defensive checks and client recreation to avoid NoneType errors during unload/reconnect and to prevent request cancellations from leaving the coordinator in a bad state.
9+
### Fixed
10+
- Options flow: removed deprecated explicit `config_entry` assignment (compatibility with HA 2025.12).
11+
- Modbus client: properly handle CancelledError during shutdown; guard reconnection and client recreation to avoid NoneType errors and noisy ERROR logs on stop/reload.
12+
- Efficiency sensors: skip calculations when denominators are zero or required inputs are missing to avoid division-by-zero errors.
13+
- Energy sensors: ensure `state_class` is set to `total` or `total_increasing` for sensors with `device_class: energy`.
1414

1515
### Notes
1616
- `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.
17-
- Efficiency sensor calculations: added guards to skip calculations when denominators are zero or required inputs are missing (prevents division-by-zero errors and noisy tracebacks during shutdown or transient zero-values).
1817

1918
## [2025.9.4] - 2025-09-22
2019

0 commit comments

Comments
 (0)