Skip to content

Commit

Permalink
Merge pull request #141 from M-o-a-T/upstream
Browse files Browse the repository at this point in the history
Tunnel: Use the bus address assigned by the server
  • Loading branch information
Julius2342 committed Sep 11, 2018
2 parents b7cfcb9 + 426fa17 commit 5b1763d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xknx/io/connect.py
Expand Up @@ -34,3 +34,5 @@ def on_success_hook(self, knxipframe):
"""Set communication channel and identifier after having received a valid answer."""
self.communication_channel = knxipframe.body.communication_channel
self.identifier = knxipframe.body.identifier
# Use the address they gave us
self.xknx.own_address.raw = self.identifier

0 comments on commit 5b1763d

Please sign in to comment.