From e7a8c4a7bbfad7bba7219ed7a995ba1419dc796e Mon Sep 17 00:00:00 2001 From: shaonianzhentan Date: Mon, 8 May 2023 18:02:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E6=8C=81=E6=96=B0=E7=89=88HA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- custom_components/xiaomi_tv/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/xiaomi_tv/__init__.py b/custom_components/xiaomi_tv/__init__.py index b9eee24..ff2446e 100644 --- a/custom_components/xiaomi_tv/__init__.py +++ b/custom_components/xiaomi_tv/__init__.py @@ -6,7 +6,7 @@ CONFIG_SCHEMA = cv.deprecated(DOMAIN) async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: - hass.config_entries.async_forward_entry_setups(entry, PLATFORMS) + await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS) return True async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: