You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+6-7Lines changed: 6 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,20 +1,19 @@
1
1
# Changelog
2
2
3
-
## [2025.9.5.b1] - 2025-09-23
3
+
## [2025.10.1] - 2025-10-15
4
4
5
5
### Added
6
6
- 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
7
- 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
8
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`.
14
14
15
15
### Notes
16
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.
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).
0 commit comments