1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Allow missing components in safe mode (#102888)

This commit is contained in:
Erik Montnemery
2023-10-27 12:25:27 +02:00
committed by GitHub
parent 43915fbaf3
commit 294f565bad
2 changed files with 14 additions and 1 deletions

View File

@@ -127,7 +127,7 @@ async def async_check_ha_config_file( # noqa: C901
try:
integration = await async_get_integration_with_requirements(hass, domain)
except loader.IntegrationNotFound as ex:
if not hass.config.recovery_mode:
if not hass.config.recovery_mode and not hass.config.safe_mode:
result.add_error(f"Integration error: {domain} - {ex}")
continue
except RequirementsNotFound as ex: