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.
2 parents b42c822 + 276c4cd commit a8eb383Copy full SHA for a8eb383
custom_components/openhasp/__init__.py
@@ -264,11 +264,8 @@ async def async_setup_entry(hass, entry) -> bool:
264
await component.async_add_entities([plate_entity])
265
hass.data[DOMAIN][CONF_PLATE][plate] = plate_entity
266
267
- for domain in PLATFORMS:
268
- hass.async_create_task(
269
- hass.config_entries.async_forward_entry_setup(entry, domain)
270
- )
271
-
+ await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
+
272
listener = entry.add_update_listener(async_update_options)
273
entry.async_on_unload(listener)
274
0 commit comments