Skip to content

Commit

Permalink
Merge pull request #327 from dougiteixeira/async_forward_entry_setups
Browse files Browse the repository at this point in the history
Uses async_forward_entry_setups
  • Loading branch information
dougiteixeira authored Jun 23, 2024
2 parents 8f265dd + a31c5f8 commit 86a0d48
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions custom_components/proxmoxve/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -589,10 +589,7 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry) -> b
create=True,
)

for platform in PLATFORMS:
hass.async_create_task(
hass.config_entries.async_forward_entry_setup(config_entry, platform)
)
await hass.config_entries.async_forward_entry_setups(config_entry, PLATFORMS)

return True

Expand Down

0 comments on commit 86a0d48

Please sign in to comment.