Migrate packages and check config (#23082)
* Migrate packages and check config * Fix typing * Fix check config script
This commit is contained in:
1 parent
95662f82d4
commit
3368e30279
7 files changed
+113
-99
No files matched your search
@@ -126,8 +126,8 @@ async def _async_setup_component(hass: core.HomeAssistant,
|
||||
"%s -> %s", domain, err.from_domain, err.to_domain)
|
||||
return False
|
||||
|
||||
processed_config = \
|
||||
conf_util.async_process_component_config(hass, config, domain)
|
||||
processed_config = await conf_util.async_process_component_config(
|
||||
hass, config, integration)
|
||||
|
||||
if processed_config is None:
|
||||
log_error("Invalid config.")
|
||||
|
||||
Reference in new issue
Block a user