Split recorder and frontend bootstrap steps (#122420)
parent
ee30510b23
commit
3df6b34a03
|
@ -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),
|
||||
)
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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"],
|
||||
},
|
||||
),
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue