Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mawinkler committed Aug 8, 2024
1 parent f00a1b2 commit 8e2bf86
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions custom_components/gardena_smart_system/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:

hass.bus.async_listen_once(EVENT_HOMEASSISTANT_STOP, lambda event: hass.async_create_task(gardena_system.stop()))

for component in PLATFORMS:
hass.async_create_task(
hass.config_entries.async_forward_entry_setup(entry, component))
await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)

_LOGGER.debug("Gardena Smart System component setup finished")
return True
Expand Down

0 comments on commit 8e2bf86

Please sign in to comment.