v1.3.6 Performance updates
Release v1.3.6 - Startup Performance & Resilience
This update addresses two common issues where Home Assistant would hang or log timeout errors during the boot process. Huge thanks to @superbam for the detailed feedback and troubleshooting!
🚀 Performance Improvements
Instant HA Startup: The Server-Sent Events (SSE) listener now waits for Home Assistant to finish its bootstrap process before starting. This fixes the "Setup timed out for bootstrap" warnings and ensures HA reaches the dashboard faster.
Fail-Fast Library Cache: Reduced the library cache warming timeout from 120 seconds to 10 seconds. If your Apple Music server is slow to respond or unreachable at startup, the integration will now skip the cache warm and move on, rather than stalling the entire system.
🛠 Bug Fixes & Stability
Exponential Backoff: Added a smart retry logic for the SSE connection. If the connection drops, it will wait 5s, then 10s, doubling up to 60s. This prevents the integration from hammering your network and filling logs during an outage.
Enhanced Logging: Moved "SSE Connected" messages to the INFO level. You can now verify that your "push" updates are working without needing to enable full debug logging.
Resilient Updates: Improved error handling in _async_update_data to handle network blips more gracefully.