Skip to content

Commit 49e6cb4

Browse files
authored
Merge pull request #46 from GuyKh/fix_async_forward_entry_setup
Fix async_forward_entry_setup error
2 parents be6f99e + 6c42412 commit 49e6cb4

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

custom_components/fireflyiii_integration/__init__.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,7 @@ async def async_setup_entry(
5353
)
5454

5555
# Forward the setup to the sensor platform.
56-
for platform in PLATFORMS:
57-
hass.async_create_task(
58-
hass.config_entries.async_forward_entry_setup(entry, platform)
59-
)
56+
await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
6057
return True
6158

6259

0 commit comments

Comments
 (0)