Skip to content

Commit

Permalink
fix: switch to async_forward_entry_setups
Browse files Browse the repository at this point in the history
closes #499
  • Loading branch information
alandtse committed Feb 1, 2023
1 parent 8d966c4 commit 3d62c3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/tesla_custom/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ def _async_create_close_task():

await coordinator.async_config_entry_first_refresh()

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 3d62c3c

Please sign in to comment.