Use async_forward_entry_setups instead of async_setup_platforms

This commit is contained in:
Ron
2023-02-02 18:10:58 +01:00
committed by GitHub
parent ef91580157
commit 1aa8cfb78f

View File

@@ -37,7 +37,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
DATA_COORDINATOR: coordinator,
}
hass.config_entries.async_setup_platforms(entry, PLATFORMS)
await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
return True