Migrate remaining call in check_config helper to use async_get_component (#113123)
This commit is contained in:
parent
1949b9936b
commit
3f72fae60b
2 changed files with 2 additions and 2 deletions
|
@ -192,7 +192,7 @@ async def async_check_ha_config_file( # noqa: C901
|
|||
continue
|
||||
|
||||
try:
|
||||
component = integration.get_component()
|
||||
component = await integration.async_get_component()
|
||||
except ImportError as ex:
|
||||
result.add_warning(f"Component error: {domain} - {ex}")
|
||||
continue
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue