mirror of
https://github.com/Electric-Special/ha-core.git
synced 2026-03-28 02:06:09 +01:00
- Use async_entity_ids_count instead of async_all I also tried to make the code wrap a bit less but I didn't want to refactor it to much in this PR This one blocks the event loop for just a bit so there are probably some more parts that could be optimized `2024-02-15 07:17:30.034 WARNING (MainThread) [asyncio] Executing <Task pending name='analytics schedule' coro=<Analytics.send_analytics() running at /usr/src/homeassistant/homeassistant/components/analytics/analytics.py:220> wait_for=<Future pending cb=[_chain_future.<locals>._call_check_cancel() at /usr/local/lib/python3.12/asyncio/futures.py:387, Task.task_wakeup()] created at /usr/local/lib/python3.12/asyncio/base_events.py:447> cb=[set.remove()] created at /usr/src/homeassistant/homeassistant/core.py:598> took 0.335 seconds`