🚀 Release v2.0.0 - Major Configuration Improvements
🚀 Release v2.0.0 - Major Configuration Improvements
🎉 What's New
This major release brings significant improvements to the configuration experience and fixes critical issues with the config flow UI.
✨ Highlights
- 🔧 Fixed Configuration UI: Resolved the "500 Internal Server Error" that prevented users from accessing the Configure button
- 📝 User-Friendly Descriptions: Added helpful, detailed descriptions for every configuration option
- 🔄 Live Reconfiguration: Change your settings anytime through the Home Assistant UI without removing the integration
- ⚡ Auto-Reload: Integration automatically reloads when you change settings - no manual restart needed
🐛 Bug Fixes
- Fixed: 500 Internal Server Error when clicking the Configure button
- Fixed: Config flow handler registration issues that caused "Invalid handler specified" errors
- Fixed: Options flow now properly reads from
entry.optionswith fallback toentry.data - Fixed: Removed invalid
ConfigFlowErrorexception that caused import failures
🎨 New Features
Interactive Configuration
- User-Friendly Setup: Step-by-step guidance with clear descriptions for each option
- Reconfigure Anytime: Access Settings > Devices & Services > Ookla Speedtest > Configure
- Smart Defaults: Options flow remembers your previous settings
Enhanced User Experience
-
Server Selection:
- Clear explanation: "Choose which server to test against. 'Closest Server' automatically selects the nearest server."
- Shows 10 nearest servers sorted by distance
- Manual server ID option with helpful hints
-
Manual Mode:
- Clear explanation: "When enabled, speed tests only run when manually triggered via the service."
- Understand exactly when tests will run
-
Scan Interval:
- Clear explanation: "How often to automatically run speed tests (in minutes)."
- Bandwidth usage warning for frequent scans
Translation Support
- Added
strings.jsonwith comprehensive field descriptions - Added
translations/en.jsonfor full English localization - Foundation for future multi-language support
🔧 Improvements
- Automatic Reload: Integration reloads automatically when configuration changes
- Better Error Handling: Improved error messages and validation during setup
- Backwards Compatibility: Options flow gracefully handles both old and new configuration formats
- Code Quality: Cleaner, more maintainable config flow implementation
📋 Breaking Changes
We bumped to v2.0.0 to reflect the significant improvements to the configuration system.
🔄 Upgrade Instructions
For HACS Users (Recommended)
- Go to HACS > Integrations
- Find Ookla Speedtest and click Update
- Restart Home Assistant: Settings > System > Restart
- Test the new Configure feature: Settings > Devices & Services > Ookla Speedtest > Configure
Manual Installation
- Download the latest release
- Extract to
/config/custom_components/ookla_speedtest/ - Clear Python cache:
find /config/custom_components/ookla_speedtest -type d -name "__pycache__" -exec rm -rf {} + find /config/custom_components/ookla_speedtest -name "*.pyc" -delete
- Restart Home Assistant
- Enjoy the improved configuration experience!
📸 Screenshots
The new configuration UI includes:
- ✅ Helpful descriptions below each field
- ✅ Server selection with distance information
- ✅ Manual mode toggle with clear explanation
- ✅ Scan interval with bandwidth warning
- ✅ Manual server ID option with hints
🙏 Acknowledgments
Thank you to all users who reported the configuration issues and helped test the fixes!
📝 Full Changelog
Added
- User-friendly descriptions for all configuration options
- Complete UI-based reconfiguration support
- Automatic integration reload on configuration changes
- Translation files (strings.json, translations/en.json)
- Options flow
__init__method for proper initialization - Explicit config flow handler registration
Fixed
- 500 Internal Server Error on Configure button
- Config flow handler registration issues
- Invalid handler specified errors
- Options flow data handling
- Import errors from invalid exception usage
Changed
- Bumped version to 2.0.0
- Improved error handling in setup script
- Enhanced code quality and maintainability
Improved
- Configuration user experience
- Error messages and validation
- Documentation in README.md
- Backwards compatibility
🔗 Links
Enjoy the improved Ookla Speedtest integration! 🎊
If you encounter any issues, please report them on our GitHub Issues page.