Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions custom_components/netdaemon/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,11 +150,7 @@ async def entity_remove(call):
hass.services.async_register(DOMAIN, SERVICE_ENTITY_REMOVE, entity_remove)

# Platforms
for platform in PLATFORMS:
LOGGER.debug("Adding platfrom %s", platform)
hass.async_add_job(
hass.config_entries.async_forward_entry_setup(config_entry, platform)
)
await hass.config_entries.async_forward_entry_setups(config_entry, PLATFORMS)

config_entry.add_update_listener(async_reload_entry)

Expand Down
Loading