From ec87d5dbbd3dd9915ef2a3e6ab2471777782ad7b Mon Sep 17 00:00:00 2001 From: Robert Drinovac <52541649+RobertD502@users.noreply.github.com> Date: Fri, 27 Jan 2023 04:16:23 -0500 Subject: [PATCH] Use async_forward_entry_setups instead of async_setup_platforms (#3038) - Replaces current async_setup_platforms function with async_forward_entry_setups, which will prevent the integration from failing to start in Home Assistant 2023.3+ --- custom_components/hacs/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/hacs/__init__.py b/custom_components/hacs/__init__.py index 1f10b7f903c..35bbf00d0ec 100644 --- a/custom_components/hacs/__init__.py +++ b/custom_components/hacs/__init__.py @@ -174,7 +174,7 @@ async def async_startup(): hacs.log.info("Update entities are only supported when using UI configuration") else: - hass.config_entries.async_setup_platforms( + await hass.config_entries.async_forward_entry_setups( config_entry, [Platform.SENSOR, Platform.UPDATE] if hacs.configuration.experimental