Closed StephanU closed 6 months ago
HomeAssistant integrations must not perform blocking I/O or network operations. see e.g. here Instead, asyncio needs to be used.
This PR refactores the script to use asyncio/aiohttp for requesting the API.
Nice work! Thanks a lot for your support @StephanU - I am grateful for your contributions.
HomeAssistant integrations must not perform blocking I/O or network operations. see e.g. here Instead, asyncio needs to be used.
This PR refactores the script to use asyncio/aiohttp for requesting the API.