Skip to content
Snippets Groups Projects
Commit b38a3546 authored by jkerdreu's avatar jkerdreu
Browse files

Switch to new platforms API. older get deprecated..



git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/branches/0.7@3063 b32b6428-25c9-4566-ad07-03861ab6144f
parent 92635736
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
bridge = Bridge(hass, db_server)
hass.data.setdefault(DOMAIN, {})[entry.entry_id] = bridge
hass.config_entries.async_setup_platforms(entry, PLATFORMS)
await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
# await bridge.wait_is_ready()
return True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment