Skip to content

Commit

Permalink
Merge pull request #645 from robinostlund/v5.0.3
Browse files Browse the repository at this point in the history
v5.0.3
  • Loading branch information
stickpin authored Jul 4, 2024
2 parents bb7a12a + 3aec910 commit a833fc1
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions custom_components/volkswagencarnet/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,8 @@ def is_new(attr):
UNDO_UPDATE_LISTENER: entry.add_update_listener(_async_update_listener),
}

for component in components:
coordinator.platforms.append(component)
hass.async_create_task(
hass.config_entries.async_forward_entry_setup(entry, component)
)
coordinator.platforms.extend(components)
await hass.config_entries.async_forward_entry_setups(entry, components)

return True

Expand Down

0 comments on commit a833fc1

Please sign in to comment.