mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Migrate lg_soundbar to use async_forward_entry_setups (#86570)
Replaces deprecated async_setup_platforms with async_forward_entry_setups
This commit is contained in:
parent
f548ccfb92
commit
b253bb841e
@ -26,7 +26,7 @@ async def async_setup_entry(
|
|||||||
except ConnectionError as err:
|
except ConnectionError as err:
|
||||||
raise ConfigEntryNotReady from err
|
raise ConfigEntryNotReady from err
|
||||||
|
|
||||||
hass.config_entries.async_setup_platforms(entry, PLATFORMS)
|
await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user