Browse Source

log mac address when updating it

Maxime Alves LIRMM@home 3 years ago
parent
commit
7b61b3c4c8
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      pyheatpump/config.py

+ 1
- 0
pyheatpump/config.py View File

@@ -72,6 +72,7 @@ def mac_address_init():
72 72
     addr = ifaddresses(interface)[AF_LINK][0]['addr']
73 73
     config.set('heatpump', 'mac_address', addr)
74 74
     save_config()
75
+    logger.info('Got new mac address {addr}')
75 76
     return addr
76 77
 
77 78
 

Loading…
Cancel
Save