mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Don't pass in loop (#23984)
* Don't pass in loop * Revert some changes * Lint + Axis revert * reinstate loop * Fix a test * Set loop * Update camera.py * Lint
This commit is contained in:
@@ -346,7 +346,7 @@ class HomeAssistant:
|
||||
def block_till_done(self) -> None:
|
||||
"""Block till all pending work is done."""
|
||||
run_coroutine_threadsafe(
|
||||
self.async_block_till_done(), loop=self.loop).result()
|
||||
self.async_block_till_done(), self.loop).result()
|
||||
|
||||
async def async_block_till_done(self) -> None:
|
||||
"""Block till all pending work is done."""
|
||||
|
||||
Reference in New Issue
Block a user