From 9bc946b19f7e65b2930ba0454075e1554f5c8456 Mon Sep 17 00:00:00 2001 From: Pastaloverzzz <155114099+Pastaloverzzz@users.noreply.github.com> Date: Thu, 31 Oct 2024 13:49:53 +0100 Subject: [PATCH] Update __init__.py --- custom_components/dahua/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/dahua/__init__.py b/custom_components/dahua/__init__.py index d54dc5f..e1cf20d 100755 --- a/custom_components/dahua/__init__.py +++ b/custom_components/dahua/__init__.py @@ -60,7 +60,7 @@ async def async_setup(hass: HomeAssistant, config: ConfigType): return True -async def async_setup_entry(hass: HomeAssistant, entry: ConfigType): +async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry): """Set up this integration using UI.""" if hass.data.get(DOMAIN) is None: hass.data.setdefault(DOMAIN, {})