mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 08:17:08 +00:00
Allow missing components in safe mode (#102891)
This commit is contained in:
parent
294f565bad
commit
a7183a0cbf
@ -216,7 +216,7 @@ async def async_check_ha_config_file( # noqa: C901
|
|||||||
)
|
)
|
||||||
platform = p_integration.get_platform(domain)
|
platform = p_integration.get_platform(domain)
|
||||||
except loader.IntegrationNotFound as ex:
|
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"Platform error {domain}.{p_name} - {ex}")
|
result.add_error(f"Platform error {domain}.{p_name} - {ex}")
|
||||||
continue
|
continue
|
||||||
except (
|
except (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user