Skip to content

v1.1.0 — Fix blocking SSL call on client init

Choose a tag to compare

@JoshADC JoshADC released this 15 Apr 03:28
· 9 commits to main since this release

What changed

Fixes a Home Assistant warning that appeared during integration setup:

Detected blocking call to load_verify_locations inside the event loop

httpx.AsyncClient() triggers SSL certificate loading, which is a synchronous filesystem operation. Creating the client directly on the event loop blocked it briefly. v1.1.0 wraps client instantiation in asyncio.to_thread() so the SSL load happens on a worker thread.

No functional behavior change — just cleaner HA startup logs.