Split recorder and frontend bootstrap steps (#122420)

pull/122296/head^2
Erik Montnemery 2024-07-22 23:07:49 +02:00 committed by GitHub
parent ee30510b23
commit 3df6b34a03
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 6 deletions

View File

@ -223,8 +223,10 @@ CRITICAL_INTEGRATIONS = {
SETUP_ORDER = (
# Load logging and http deps as soon as possible
("logging, http deps", LOGGING_AND_HTTP_DEPS_INTEGRATIONS),
# Setup frontend and recorder
("frontend, recorder", {*FRONTEND_INTEGRATIONS, *RECORDER_INTEGRATIONS}),
# Setup frontend
("frontend", FRONTEND_INTEGRATIONS),
# Setup recorder
("recorder", RECORDER_INTEGRATIONS),
# Start up debuggers. Start these first in case they want to wait.
("debugger", DEBUGGER_INTEGRATIONS),
)

View File

@ -1,7 +1,6 @@
{
"domain": "recorder",
"name": "Recorder",
"after_dependencies": ["http"],
"codeowners": ["@home-assistant/core"],
"documentation": "https://www.home-assistant.io/integrations/recorder",
"integration_type": "system",

View File

@ -436,9 +436,6 @@ async def test_setup_frontend_before_recorder(hass: HomeAssistant) -> None:
MockModule(
domain="recorder",
async_setup=gen_domain_setup("recorder"),
partial_manifest={
"after_dependencies": ["http"],
},
),
)