Skip to content

Commit

Permalink
Move startup tasks to config_entry
Browse files Browse the repository at this point in the history
  • Loading branch information
PimDoos committed May 3, 2024
1 parent 5ece114 commit dde1500
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/sessy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ async def update_cache_commands(hass, config_entry):

for platform in PLATFORMS:
config_entry.async_create_task(
hass,
hass.config_entries.async_forward_entry_setup(config_entry, platform)
)

Expand Down

0 comments on commit dde1500

Please sign in to comment.