Skip to content

Commit

Permalink
Await async_forward_entry_setups
Browse files Browse the repository at this point in the history
  • Loading branch information
joseffallman committed Jul 10, 2023
1 parent a4a74c5 commit a7b2b94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/flashforge/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
# Save the coordinator object to be able to access it later on.
hass.data.setdefault(DOMAIN, {})[entry.entry_id] = coordinator

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

return True

Expand Down

0 comments on commit a7b2b94

Please sign in to comment.