Skip to content

Commit

Permalink
deprecation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Erkka Tahvanainen committed Oct 27, 2024
1 parent b04365d commit 1475801
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions custom_components/jablotron80/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:


for component in PLATFORMS:
hass.async_create_task(
hass.config_entries.async_forward_entry_setup(entry, component)
)

await hass.config_entries.async_forward_entry_setup(entry,component)
return True

async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry):
Expand Down

0 comments on commit 1475801

Please sign in to comment.