mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Fix recorder async (#6228)
This commit is contained in:
parent
596f7b99f6
commit
7b9f7889d2
@ -236,7 +236,7 @@ class Recorder(threading.Thread):
|
||||
self._setup_connection()
|
||||
self._setup_run()
|
||||
self.db_ready.set()
|
||||
self.async_db_ready.set()
|
||||
self.hass.loop.call_soon_threadsafe(self.async_db_ready.set)
|
||||
break
|
||||
except SQLAlchemyError as err:
|
||||
_LOGGER.error("Error during connection setup: %s (retrying "
|
||||
|
Loading…
x
Reference in New Issue
Block a user