In some cases (i.e. Home Assistant), it could be required/preferred to have the async version of the library.
At the time of writing, the library uses requests as a main dependency to retrieve data and further processing, even if not expensive, is not structured to be run in an asyncio context. This issue is a tracker for implementing the right solution to avoid code duplication.
Asyncio implementation can be easily achieved using https://www.python-httpx.org/ library. We should take it into consideration instead of using requests.
Overview
In some cases (i.e. Home Assistant), it could be required/preferred to have the async version of the library.
At the time of writing, the library uses
requests
as a main dependency to retrieve data and further processing, even if not expensive, is not structured to be run in anasyncio
context. This issue is a tracker for implementing the right solution to avoid code duplication.