Skip to content

Commit

Permalink
added support for mgw lan
Browse files Browse the repository at this point in the history
  • Loading branch information
grimmpp committed May 23, 2024
1 parent f288f44 commit 0578eae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions custom_components/eltako/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0578eae

Please sign in to comment.