This commit is contained in:
William Moore 2021-12-16 16:18:00 -06:00
parent 65455a46df
commit 8b51d63f64

View File

@ -34,7 +34,7 @@ class tempThread (threading.Thread):
temp = sensor.temperature
print(temp)
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)
T_thread = tempThread()