Skip to content

Commit

Permalink
Replace deprecated async_forward_entry_setup call
Browse files Browse the repository at this point in the history
  • Loading branch information
jpcornil-git authored Jul 15, 2024
1 parent 52c9606 commit 8b93b2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/sma_webbox/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ async def async_close_session(event): # pylint: disable=unused-argument
SMA_WEBBOX_REMOVE_LISTENER: remove_stop_listener,
}

await hass.config_entries.async_forward_entry_setup(entry, Platform.SENSOR)
await hass.config_entries.async_forward_entry_setups(entry, [Platform.SENSOR])

return True

Expand Down

0 comments on commit 8b93b2c

Please sign in to comment.