Skip to content

Commit 47868e9

Browse files
committed
Fix 2023.3 deprecation warning
1 parent 34cd5f9 commit 47868e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom_components/bestway/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
7272
await coordinator.async_config_entry_first_refresh()
7373

7474
hass.data.setdefault(DOMAIN, {})[entry.entry_id] = coordinator
75-
hass.config_entries.async_setup_platforms(entry, _PLATFORMS)
75+
await hass.config_entries.async_forward_entry_setups(entry, _PLATFORMS)
7676

7777
entry.async_on_unload(entry.add_update_listener(async_reload_entry))
7878
return True

0 commit comments

Comments
 (0)