Skip to content

Commit

Permalink
Use async_forward_entry_setups (#645)
Browse files Browse the repository at this point in the history
  • Loading branch information
KapJI authored Feb 2, 2023
1 parent da0eaae commit 34a60d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/google_home/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
DATA_COORDINATOR: coordinator,
}

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

entry.add_update_listener(async_update_entry)
return True
Expand Down

0 comments on commit 34a60d4

Please sign in to comment.