Skip to content

v1.2.2 - Fix Blocking Startup Issue

Choose a tag to compare

@soulripper13 soulripper13 released this 07 Dec 03:53
f4945e5

🐛 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_test service
  • Auto-update schedule remains unchanged and continues to work as configured
  • No breaking changes - existing configurations continue to work without modification

🔄 Upgrade Instructions

  1. Update to v1.2.2
  2. Restart Home Assistant
  3. 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)