Use core domain constant in bootstrap (#104061)

This commit is contained in:
Erik Montnemery 2023-11-16 11:26:57 +01:00 committed by GitHub
parent d8a49b14e5
commit 654c4b6e35
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -292,7 +292,7 @@ async def async_from_config_dict(
try: try:
await conf_util.async_process_ha_core_config(hass, core_config) await conf_util.async_process_ha_core_config(hass, core_config)
except vol.Invalid as config_err: except vol.Invalid as config_err:
conf_util.async_log_schema_error(config_err, "homeassistant", core_config, hass) conf_util.async_log_schema_error(config_err, core.DOMAIN, core_config, hass)
return None return None
except HomeAssistantError: except HomeAssistantError:
_LOGGER.error( _LOGGER.error(