Skip to content

Commit

Permalink
Migrate to async_forward_entry_setups for compatibility with HA 2025
Browse files Browse the repository at this point in the history
  • Loading branch information
skipperro committed Nov 27, 2024
1 parent d26b530 commit 14d2fbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/enpal/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ async def async_setup_entry(

# Forward the setup to the sensor platform.
hass.async_create_task(
hass.config_entries.async_forward_entry_setup(entry, "sensor")
hass.config_entries.async_forward_entry_setups(entry, ["sensor"])
)
return True

Expand Down

0 comments on commit 14d2fbe

Please sign in to comment.