Migrate google_assistant to use async_forward_entry_setups (#86561)

Replaces deprecated async_setup_platforms with async_forward_entry_setups
This commit is contained in:
J. Nick Koston
2023-01-24 10:16:22 -10:00
committed by GitHub
parent dbab57ba87
commit da390dbd9a

View File

@@ -166,6 +166,6 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
DOMAIN, SERVICE_REQUEST_SYNC, request_sync_service_handler
)
hass.config_entries.async_setup_platforms(entry, PLATFORMS)
await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
return True