Skip to content

Commit

Permalink
new syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
gluap committed Nov 14, 2024
1 parent b50ce5e commit 31a4e43
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions custom_components/duofern/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,7 @@ def setup(hass: HomeAssistant, config: ConfigType) -> bool:

async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
"""Setup the Duofern Config entries (entities, devices, etc...)"""
for component in DUOFERN_COMPONENTS:
await hass.config_entries.async_forward_entry_setups(entry, component)
await hass.config_entries.async_forward_entry_setups(entry, DUOFERN_COMPONENTS)

return True

Expand Down

0 comments on commit 31a4e43

Please sign in to comment.