Skip to content

Commit

Permalink
Don't use deprecated async_setup_platforms (#263)
Browse files Browse the repository at this point in the history
  • Loading branch information
ofalvai committed Feb 25, 2023
1 parent b0e8613 commit c60ffdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/candy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ async def update_status():
DATA_KEY_COORDINATOR: coordinator
}

hass.config_entries.async_setup_platforms(config_entry, PLATFORMS)
await hass.config_entries.async_forward_entry_setups(config_entry, PLATFORMS)

return True

Expand Down

0 comments on commit c60ffdf

Please sign in to comment.