Skip to content

Commit ebef2a8

Browse files
committed
config: switch to new async_forward_entry_setups methond
1 parent f5ef04a commit ebef2a8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

custom_components/uhoo/__init__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,7 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry) -> b
6060
raise ConfigEntryNotReady
6161

6262
hass.data[DOMAIN][config_entry.entry_id] = coordinator
63-
for platform in PLATFORMS:
64-
hass.async_add_job(hass.config_entries.async_forward_entry_setup(
65-
config_entry, platform))
63+
await hass.config_entries.async_forward_entry_setups(config_entry, PLATFORMS)
6664

6765
return True
6866

0 commit comments

Comments
 (0)