mirror of
https://github.com/home-assistant/core.git
synced 2025-08-11 16:45:19 +02:00
Enable KNX auto_reconnect for auto-discovered connections (#46178)
This commit is contained in:
committed by
Paulus Schoutsen
parent
983e980554
commit
47464b89af
@@ -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