mirror of
https://github.com/home-assistant/core.git
synced 2025-11-14 05:20:17 +00:00
Migrate remaining call in check_config helper to use async_get_component (#113123)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user