We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9250d63 commit 3733b9dCopy full SHA for 3733b9d
custom_components/zammad/__init__.py
@@ -1,6 +1,7 @@
1
"""
2
Custom integration to integrate Zammad with Home Assistant.
3
4
+
5
from aiohttp.client_exceptions import ClientConnectorError
6
from homeassistant.config_entries import ConfigEntry
7
from homeassistant.core import HomeAssistant
@@ -50,10 +51,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry):
50
51
52
hass.data.setdefault(DOMAIN, {})[entry.entry_id] = coordinator
53
- for platform in PLATFORMS:
54
- hass.async_add_job(
55
- hass.config_entries.async_forward_entry_setup(entry, platform)
56
- )
+ await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
57
58
entry.add_update_listener(async_reload_entry)
59
return True
0 commit comments