Allow missing components in safe mode (#102888)

This commit is contained in:
Erik Montnemery
2023-10-27 14:02:14 +02:00
committed by Franck Nijhof
parent 0573981d6f
commit 62fc9dfd6c
2 changed files with 14 additions and 1 deletions
+1 -1
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: