Switch the reload helper to use async_get_component (#113126)

pull/113132/head
J. Nick Koston 2024-03-11 16:17:07 -10:00 committed by GitHub
parent 52b2522be2
commit 734a614eb8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ async def _resetup_platform(
root_config[platform_domain].append(p_config)
component = integration.get_component()
component = await integration.async_get_component()
if hasattr(component, "async_reset_platform"):
# If the integration has its own way to reset