Skip to content

v1.61.1 - No blocking manifest read

Latest

Choose a tag to compare

@crandler crandler released this 18 Aug 19:26
· 2 commits to main since this release

Fixed

  • Removed a blocking file read from the event loop. Both __init__.py and api.py parsed manifest.json with read_text() just to obtain the version string, which Home Assistant reports on every setup as "Detected blocking call to read_text ... inside the event loop by custom integration 'cover_automatic'". The version now comes from the already-cached integration manifest via async_get_integration(), so no file is read at runtime.