Migrate samsungtv to use async_forward_entry_setups (#86575)
Replaces deprecated async_setup_platforms with async_forward_entry_setupspull/86590/head
parent
f3cf760772
commit
6270f33bee
|
@ -215,7 +215,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
|||
entry.async_on_unload(entry.add_update_listener(debounced_reloader.async_call))
|
||||
|
||||
hass.data[DOMAIN][entry.entry_id] = bridge
|
||||
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