From 2e3db54ab99c086f87ed87f1cdab04435e8d44bc Mon Sep 17 00:00:00 2001 From: Philipp Grimm Date: Tue, 14 May 2024 13:26:18 +0200 Subject: [PATCH] no config support --- custom_components/eltako/eltako_integration_init.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/custom_components/eltako/eltako_integration_init.py b/custom_components/eltako/eltako_integration_init.py index 01fe35e5..2f7de392 100644 --- a/custom_components/eltako/eltako_integration_init.py +++ b/custom_components/eltako/eltako_integration_init.py @@ -74,7 +74,8 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry) -> b # Check domain if config_entry.domain != DOMAIN: - raise Exception(f"[{LOG_PREFIX}] Ooops, received configuration entry of wrong domain '%s' (expected: '')!", config_entry.domain, DOMAIN) + LOGGER.warn(f"[{LOG_PREFIX}] Ooops, received configuration entry of wrong domain '%s' (expected: '')!", config_entry.domain, DOMAIN) + return # Read the config