mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Enable KNX auto_reconnect for auto-discovered connections (#46178)
This commit is contained in:
parent
f99c27c6d4
commit
e7ca0ff71a
@ -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."""
|
||||
|
Loading…
x
Reference in New Issue
Block a user