Maxime Alves LIRMM@home 3 gadus atpakaļ
vecāks
revīzija
3a2d80202d
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1
    1
      pyheatpump/cli.py

+ 1
- 1
pyheatpump/cli.py Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt