From f46d3df0094c77e0373dc799f06fb87c63d6f384 Mon Sep 17 00:00:00 2001 From: John Pickup Date: Fri, 16 Jun 2023 10:05:14 +0100 Subject: [PATCH] .. --- lib/ovenDisplay.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ovenDisplay.py b/lib/ovenDisplay.py index bc15ce0..2dbe85e 100644 --- a/lib/ovenDisplay.py +++ b/lib/ovenDisplay.py @@ -46,8 +46,8 @@ class OvenDisplay(threading.Thread): log.info(oven_state_json) state = json.loads(oven_state_json) log.info(state) - 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)) + self.text("{0:2.0f}°C".format(state['temperature']), (25, 25), fnt75, (255, 255, 255)) + self.text("Target: {0:2.0f}°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)) else: