From b53141f3fe9ed64e3d79f3d4dd6b69d35fec84e6 Mon Sep 17 00:00:00 2001 From: John Pickup Date: Fri, 16 Jun 2023 10:14:01 +0100 Subject: [PATCH] ... --- lib/ovenDisplay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ovenDisplay.py b/lib/ovenDisplay.py index 7ea30ad..41a343e 100644 --- a/lib/ovenDisplay.py +++ b/lib/ovenDisplay.py @@ -65,7 +65,7 @@ class OvenDisplay(threading.Thread): self.text("No Programme", (25, 175), fnt25, (255, 255, 255)) displayhatmini.display() - if (state['state'] == 'IDLE'): + if (state['state'] is None or state['state'] == 'IDLE'): displayhatmini.set_led(0.0, 0.2, 0.0) else: if (state['heat'] == 1.0):