Migrate escea to use async_forward_entry_setups (#86559)
Replaces deprecated async_setup_platforms with async_forward_entry_setupspull/86614/head
parent
dae7bcf387
commit
c1e3c1a27c
|
@ -12,7 +12,7 @@ PLATFORMS = [CLIMATE_DOMAIN]
|
|||
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
||||
"""Set up from a config entry."""
|
||||
await async_start_discovery_service(hass)
|
||||
hass.config_entries.async_setup_platforms(entry, PLATFORMS)
|
||||
await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
|
||||
return True
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue