mirror of
https://github.com/home-assistant/core.git
synced 2026-09-02 18:24:49 -05:00
Enable KNX auto_reconnect for auto-discovered connections (#46178)
This commit is contained in:
@@ -290,7 +290,7 @@ class KNXModule:
|
||||
if CONF_KNX_ROUTING in self.config[DOMAIN]:
|
||||
return self.connection_config_routing()
|
||||
# config from xknx.yaml always has priority later on
|
||||
return ConnectionConfig()
|
||||
return ConnectionConfig(auto_reconnect=True)
|
||||
|
||||
def connection_config_routing(self):
|
||||
"""Return the connection_config if routing is configured."""
|
||||
|
||||
Reference in New Issue
Block a user