Maxime Alves LIRMM@home 3 years ago
parent
commit
3a2d80202d
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      pyheatpump/cli.py

+ 1
- 1
pyheatpump/cli.py View File

@@ -240,7 +240,7 @@ def supervise(since):
240 240
     )
241 241
 
242 242
     control_data = get_resp.json()
243
-    if Heatpump(mac_addres).control(control_data):
243
+    if Heatpump(mac_address).control(control_data):
244 244
         logger.info('GET to supervisor succeded : updated values')
245 245
         set_last_update(int(datetime.now().strftime('%s')))
246 246
     else:

Loading…
Cancel
Save