Skip to content

Commit 1475801

Browse files
author
Erkka Tahvanainen
committed
deprecation fix
1 parent b04365d commit 1475801

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

custom_components/jablotron80/__init__.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
5151

5252

5353
for component in PLATFORMS:
54-
hass.async_create_task(
55-
hass.config_entries.async_forward_entry_setup(entry, component)
56-
)
57-
54+
await hass.config_entries.async_forward_entry_setup(entry,component)
5855
return True
5956

6057
async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry):

0 commit comments

Comments
 (0)