From 0578eae1d1da271f853fcc7a327d25d9f0b6c1bb Mon Sep 17 00:00:00 2001 From: Philipp Grimm Date: Thu, 23 May 2024 13:01:19 +0200 Subject: [PATCH] added support for mgw lan --- custom_components/eltako/config_flow.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/custom_components/eltako/config_flow.py b/custom_components/eltako/config_flow.py index 88a616bb..a28190fc 100644 --- a/custom_components/eltako/config_flow.py +++ b/custom_components/eltako/config_flow.py @@ -79,6 +79,8 @@ async def manual_selection_routine(self, user_input=None, manual_setp:bool=False g_c = config_helpers.find_gateway_config_by_id(config, g_id) if CONF_SERIAL_PATH in g_c: serial_paths.append(g_c[CONF_SERIAL_PATH]) + if CONF_GATEWAY_ADDRESS in g_c: + serial_paths.append(g_c[CONF_GATEWAY_ADDRESS]) # get all serial paths which are not taken by existing gateways device_registry = dr.async_get(self.hass)