Skip to content

Commit

Permalink
Fixes deprecation described here: https://developers.home-assistant.i…
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdelprete committed May 1, 2024
1 parent f02d15d commit fbe1a99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/sinapsi_alfa/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry):

# Setup platforms
for platform in PLATFORMS:
hass.async_add_job(
hass.async_create_task(
hass.config_entries.async_forward_entry_setup(config_entry, platform)
)

Expand Down

0 comments on commit fbe1a99

Please sign in to comment.