mirror of
https://github.com/home-assistant/core.git
synced 2026-09-09 02:35:38 -05:00
* Small speed up to setting up integration and config entries When profiling tests, I noticed many calls to get_running_loop. In the places where we are already in a coro, pass the existing loop so it does not have to be looked up. I did not do this for places were we are not in a coro since there is risk that an integration could be doing a non-thread-safe call and its better that the code raises when trying to fetch the running loop vs the performance improvement for these cases. * fix merge * missed some