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 1475801 commit 6631f00
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions custom_components/jablotron80/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
DATA_OPTIONS_UPDATE_UNSUBSCRIBER: entry.add_update_listener(options_update_listener),
}


for component in PLATFORMS:
await hass.config_entries.async_forward_entry_setup(entry,component)
await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
return True

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

0 comments on commit 6631f00

Please sign in to comment.