Fix recorder setup hanging if non live schema migration fails (#122207)

This commit is contained in:
Erik Montnemery 2024-07-20 11:17:40 +02:00 committed by GitHub
parent d1d2ce1270
commit 153b69c971
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 37 additions and 7 deletions

View file

@ -773,6 +773,7 @@ class Recorder(threading.Thread):
"Database Migration Failed",
"recorder_database_migration",
)
self.hass.add_job(self._async_startup_failed)
return
if not database_was_ready: