Skip to content

Commit

Permalink
Replaced deprecated call async_forward_entry_setup (will be removed H…
Browse files Browse the repository at this point in the history
…A 2025.6).
  • Loading branch information
sander1988 committed Oct 15, 2024
1 parent 3a7532f commit c91ca1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions custom_components/indego/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,12 +229,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:

async def load_platforms():
_LOGGER.debug("Loading platforms")
await asyncio.gather(
*(
hass.config_entries.async_forward_entry_setup(entry, platform)
for platform in INDEGO_PLATFORMS
)
)
await hass.config_entries.async_forward_entry_setups(entry, INDEGO_PLATFORMS)

try:
await indego_hub.update_generic_data_and_load_platforms(load_platforms)
Expand Down
2 changes: 1 addition & 1 deletion custom_components/indego/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
"codeowners": ["@jm-73", "@eavanvalkenburg", "@sander1988"],
"requirements": ["pyIndego==3.2.2"],
"iot_class": "cloud_push",
"version": "5.7.5",
"version": "5.7.6",
"loggers": ["custom_components.indego", "pyIndego"]
}

0 comments on commit c91ca1a

Please sign in to comment.