log mac address when updating it
This commit is contained in:
parent
682c3f6400
commit
7b61b3c4c8
1 changed files with 1 additions and 0 deletions
|
|
@ -72,6 +72,7 @@ def mac_address_init():
|
|||
addr = ifaddresses(interface)[AF_LINK][0]['addr']
|
||||
config.set('heatpump', 'mac_address', addr)
|
||||
save_config()
|
||||
logger.info('Got new mac address {addr}')
|
||||
return addr
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue