1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2025-12-21 19:09:04 +00:00

Separate startup event from update check event (#4425)

* Separate startup event from update check event

* Add a queue for messages sent during startup
This commit is contained in:
Mike Degatano
2023-07-06 12:45:37 -04:00
committed by GitHub
parent 3b38047fd4
commit 96d5fc244e
6 changed files with 105 additions and 6 deletions

View File

@@ -260,6 +260,7 @@ class HomeAssistant(FileConfiguration, CoreSysAttributes):
"""Prepare Home Assistant object."""
await asyncio.wait(
[
self.sys_create_task(self.websocket.load()),
self.sys_create_task(self.secrets.load()),
self.sys_create_task(self.core.load()),
]