pull/140/head
John Pickup 2023-06-16 10:03:25 +01:00
rodzic 2d69fcb80a
commit 8487df7216
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -46,7 +46,7 @@ class OvenDisplay(threading.Thread):
log.info(oven_state_json)
state = json.loads(oven_state_json)
log.info(state)
self.text("Temp: {0:2.1f} °C".format(state['temperature']), (25, 25), fnt75, (255, 255, 255))
self.text("{0:2.1f} °C".format(state['temperature']), (25, 25), fnt75, (255, 255, 255))
self.text("Target: {0:2.1f} °C".format(state['target']), (25, 100), fnt25, (255, 255, 255))
if (state['profile'] is not None):
self.text(state['profile'], (25, 175), fnt25, (255, 255, 255))