Migrate heos to use async_forward_entry_setups (#86562)
* Migrate heos to use async_forward_entry_setups Replaces deprecated async_setup_platforms with async_forward_entry_setups * fix orderpull/86614/head
parent
c1e3c1a27c
commit
e427a70dc7
homeassistant/components/heos
|
@ -139,11 +139,11 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
|||
}
|
||||
|
||||
services.register(hass, controller)
|
||||
|
||||
hass.config_entries.async_setup_platforms(entry, PLATFORMS)
|
||||
group_manager.connect_update()
|
||||
entry.async_on_unload(group_manager.disconnect_update)
|
||||
|
||||
await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
|
||||
|
||||
return True
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue