mirror of
https://github.com/tomaae/homeassistant-mikrotik_router.git
synced 2025-08-03 17:34:29 +02:00
Replaced deprecated async_setup_platforms with async_forward_entry_setups
This commit is contained in:
parent
12a952a77d
commit
952f3877b7
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ async def async_setup_entry(hass, config_entry) -> bool:
|
|||
await controller.async_init()
|
||||
hass.data[DOMAIN][config_entry.entry_id] = controller
|
||||
|
||||
hass.config_entries.async_setup_platforms(config_entry, PLATFORMS)
|
||||
await hass.config_entries.async_forward_entry_setups(config_entry, PLATFORMS)
|
||||
config_entry.async_on_unload(config_entry.add_update_listener(update_listener))
|
||||
|
||||
hass.services.async_register(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue