v1.2.2 - Fix Blocking Startup Issue
🐛 Bug Fixes
Fixed Home Assistant Startup Delay
- Resolved: Integration no longer blocks Home Assistant startup by running speedtest during initialization
- Impact: Eliminates the "Waiting on integrations to complete setup" warning that occurred on every restart
- Behavior: Integration now loads instantly with initial "unknown" values, then updates according to configured scan interval
🔧 Technical Changes
Changed in __init__.py:
- Removed blocking
async_config_entry_first_refresh()call during setup - Replaced with
async_set_updated_data()to set initial sensor states without blocking - First speedtest now runs according to configured scan interval (default: 30 minutes) instead of immediately on startup
⚡ Performance Improvements
- Startup time: Integration setup now completes in milliseconds instead of 10+ minutes
- Home Assistant boot: No longer delays overall Home Assistant startup process
- User experience: Sensors appear immediately with "unknown" state, then populate with real data after first scheduled update
📝 Notes
- Users can still manually trigger speedtests anytime using the
speedtest_rt_ru.perform_testservice - Auto-update schedule remains unchanged and continues to work as configured
- No breaking changes - existing configurations continue to work without modification
🔄 Upgrade Instructions
- Update to v1.2.2
- Restart Home Assistant
- Integration will now load immediately without delays
Full Changelog: v1.2.1...v1.2.2
This release note clearly explains:
- What was fixed (the blocking startup issue)
- Why it matters (no more warnings, faster startup)
- What changed technically (for developers)
- How users benefit (instant loading)
- How to upgrade (simple restart)