mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 12:45:28 +02:00
Fix recorder async (#6228)
This commit is contained in:
@@ -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 "
|
||||
|
Reference in New Issue
Block a user