Enable KNX auto_reconnect for auto-discovered connections (#46178)
This commit is contained in:
parent
f99c27c6d4
commit
e7ca0ff71a
1 changed files with 1 additions and 1 deletions
|
@ -290,7 +290,7 @@ class KNXModule:
|
||||||
if CONF_KNX_ROUTING in self.config[DOMAIN]:
|
if CONF_KNX_ROUTING in self.config[DOMAIN]:
|
||||||
return self.connection_config_routing()
|
return self.connection_config_routing()
|
||||||
# config from xknx.yaml always has priority later on
|
# config from xknx.yaml always has priority later on
|
||||||
return ConnectionConfig()
|
return ConnectionConfig(auto_reconnect=True)
|
||||||
|
|
||||||
def connection_config_routing(self):
|
def connection_config_routing(self):
|
||||||
"""Return the connection_config if routing is configured."""
|
"""Return the connection_config if routing is configured."""
|
||||||
|
|
Loading…
Add table
Reference in a new issue