log mac address when updating it

Este commit está contenido en:
Maxime Alves LIRMM@home 2020-09-24 15:33:03 +02:00
commit 7b61b3c4c8

Ver archivo

@ -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