Migrate samsungtv to use async_forward_entry_setups (#86575)

Replaces deprecated async_setup_platforms with async_forward_entry_setups
pull/86590/head
J. Nick Koston 2023-01-25 00:17:24 -10:00 committed by GitHub
parent f3cf760772
commit 6270f33bee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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