Repository navigation
V1.2.4 π Bug Fix: Event Loop Blocking Resolved
π Bug Fix: Event Loop Blocking Resolved
Fixes critical Home Assistant stability issue where the integration blocked the event loop during initialization.
What's Fixed
Event Loop Blocking Warning β
- Deferred heavy library imports (
openai,python-open-router) to async functions - Eliminated blocking import warnings in Home Assistant logs
- Improved startup performance and system stability
Technical Changes
__init__.py: Moved openai imports toasync_setup_entry()entity.py: All openai types underTYPE_CHECKING, runtime imports in functionsconfig_flow.py: python_open_router imports deferred to async methods
Upgrade Notes
- β Fully backward compatible - no configuration changes needed
- β All features from v1.2.3 preserved
- β Faster Home Assistant startup
- β No more blocking warnings
Installation
Update via HACS or manually, then restart Home Assistant.
Full release notes:
RELEASE_NOTES_v1.2.4.md
Recommendation: All users should upgrade to eliminate event loop blocking and improve HA stability.