Changes
- Added an option to disable MAC-based linking between Deco client trackers and Home Assistant device entries.
- MAC-based linking remains enabled by default, preserving existing configurations.
- Client trackers retain their entity IDs and MAC state attributes when linking is disabled.
- Leftover client device entries can be removed manually while actual Deco devices remain protected.
Reliability
- Preserves valid Deco sessions during temporary transport errors.
- Avoids unnecessary logins that could contribute to session exhaustion.
- Automatically recovers stale sessions rejected with HTTP 401/403.
- Recovers encrypted legacy sessions after empty or invalid encrypted responses.
Compatibility
Existing configurations keep their current behaviour unless MAC-based client device linking is explicitly disabled.
References
Thanks to @rjullien for #598, @pmoranga for the Deco S7 testing, and @anilkusaksiz for the original client-device cleanup implementation.
📦 Dependencies
- Bump ruff from 0.16.10 to 0.17.0 (#603) @dependabot[bot]
- Bump black from 26.5.1 to 26.10.1 (#602) @dependabot[bot], @github-actions[bot]
- Bump release-drafter/release-drafter from 7.9.0 to 7.10.0 (#601) @dependabot[bot], @github-actions[bot]