Do not notify config errors during logging (#104466)

This commit is contained in:
Jan Bouwhuis
2023-11-24 21:34:09 +01:00
committed by GitHub
parent 4700ad7817
commit 9962301b42
5 changed files with 14 additions and 8 deletions

View File

@@ -41,6 +41,7 @@ from .setup import (
DATA_SETUP,
DATA_SETUP_STARTED,
DATA_SETUP_TIME,
async_notify_setup_error,
async_set_domains_to_be_loaded,
async_setup_component,
)
@@ -293,6 +294,7 @@ async def async_from_config_dict(
await conf_util.async_process_ha_core_config(hass, core_config)
except vol.Invalid as config_err:
conf_util.async_log_schema_error(config_err, core.DOMAIN, core_config, hass)
async_notify_setup_error(hass, core.DOMAIN)
return None
except HomeAssistantError:
_LOGGER.error(