v1.13.16-beta.1 - Setup Order and Timeout Handling Fixes
Pre-release
Pre-release
🐛 Bug Fixes
This pre-release addresses critical setup issues reported by users:
Fixed Issues:
- Setup Order Problem - Integration now fetches initial data BEFORE setting up platforms, preventing ConfigEntryNotReady exceptions during platform setup
- Timeout/Cancellation Handling - Proper exception handling for �syncio.TimeoutError and �syncio.CancelledError in XCC client fetch methods
- Device Registry Warnings - Main XCC controller device is now registered BEFORE sub-devices, eliminating warnings about non-existing �ia_device references
Changes:
- ✅ Restructured �sync_setup_entry to ensure proper setup order
- ✅ Added timeout/cancellation exception handling in etch_page() and etch_pages()
- ✅ Explicitly register main device in device registry before platform setup
- ✅ Properly raise ConfigEntryNotReady on initial setup failures with cleanup
- ✅ Added comprehensive tests to verify all fixes
Expected Behavior:
- Integration will properly retry setup if initial connection times out or is cancelled
- No more ConfigEntryNotReady exceptions raised from within platform setup code
- No more warnings about non-existing via_device references
- Cleaner error handling with proper timeout/cancellation propagation
Testing:
Please test this pre-release and report any issues. If you were experiencing the setup errors mentioned above, this release should resolve them.
Note: This is a pre-release for testing. Please report any issues at https://github.com/pvyleta/xcc-integration/issues