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