Skip to content

2.2.1 – Dynamic Patches for _update_state & _parse_source_state functions

Choose a tag to compare

@5a2v0 5a2v0 released this 06 Nov 02:31
· 60 commits to main since this release
af3f329

New dynamic patches for the core functions _update_state and _parse_source_state:

The logic for dynamically creating patches has been extended and refined to improve handling of changes in the Home Assistant core code.
The patches for both _update_state and _parse_source_state are now automatically generated and more robust, providing better control over state updates and coordinates handling.

Patch Generation Improvements:

Added a dynamic patch for the _parse_source_state function, making it as flexible as the one for _update_state.
Both functions now handle changes with greater accuracy, preventing errors during state and coordinate updates.

Backward Compatibility Enhancements:

Implemented checks to prevent using this integration on versions older than 2020.12.0 to ensure compatibility.
Added support for future core updates with an automatic fallback mechanism, which activates a safeguard behavior when necessary. This helps ensure stability and maintain functionality with future core changes, without requiring manual adjustments.

Full Changelog: 2.2.0...2.2.1