Fix JSON
This commit is contained in:
parent
65455a46df
commit
8b51d63f64
@ -34,7 +34,7 @@ class tempThread (threading.Thread):
|
|||||||
temp = sensor.temperature
|
temp = sensor.temperature
|
||||||
print(temp)
|
print(temp)
|
||||||
if temp > set_point:
|
if temp > set_point:
|
||||||
requests.post(os.environ.get('NOTIF_URL'), data={'message': 'The water is too damn hot!', 'title': 'Water temperature', 'priority', 9}, timeout=5)
|
requests.post(os.environ.get('NOTIF_URL'), data={'message': 'The water is too damn hot!', 'title': 'Water temperature', 'priority': 9}, timeout=5)
|
||||||
time.sleep(5)
|
time.sleep(5)
|
||||||
|
|
||||||
T_thread = tempThread()
|
T_thread = tempThread()
|
||||||
|
Loading…
Reference in New Issue
Block a user