Development Release 0.7.0-dev
⚠️ Warning: This is a development pre-release for testing — it may contain unstable features and is not recommended for production use.
✨ New features
Connection diagnostics on the "Enhanced" device
- New diagnostic entities:
connection_active(connectivity),connection_state,connection_last_read/connection_last_write(timestamps), andconnection_read_errors/connection_write_errors(counters with a per-category breakdown: timeout / connection / invalid address / other, plus newest failure) - Translations in English, German and Dutch
Raw register snapshot in the diagnostics download
- The diagnostics download now includes a fresh raw snapshot of all four register spaces (input, holding, coil, discrete), keyed by raw unit address, plus per-space failure info
- Holding registers fall back to chunked blocks so partial data is preserved and reported instead of failing the whole download
🔧 Modbus connection migration (Phases 0–6, completed)
The integration no longer manages Modbus connections itself — Home Assistant's shared modbus component now owns the connection lifecycle:
- Connection testing in config, reauth, reconfigure and repair flows uses a temporary-unit probe; setup and unload never close shared clients
- A lost device connection raises
ConfigEntryNotReady(automatic retry) and opens a repair issue instead of breaking the entry - New configurable Modbus unit ID (1–247, default 1) in the config and reconfigure flows — existing entries migrate automatically (v1→v2, no action required)
- Legacy pymodbus-direct client removed;
pymodbusnow arrives at runtime via themodbus-connection[pymodbus]extra - Reads/writes ported to flat-list unit calls; the polling batch layout is consolidated in shared constants so polling and snapshot paths cannot drift apart
⬆️ Requirements
- Home Assistant 2026.9 or higher (previously 2024.1) — required for HA's shared
modbuscomponent that this release is built on
✅ Quality
- Full test suite green (510+ tests, incl. new diagnostics and snapshot coverage),
ruff checkandruff formatclean
Full Changelog: v0.6.6...v0.7.0-dev