UART commands for getting dish temperature

This commit is contained in:
2026-08-07 16:14:43 +02:00
parent ec9be8ac30
commit 053964e56c
5 changed files with 60 additions and 10 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ class MicrowaveScreen:
self.h_centered_text(f"{minutes:02}:{seconds:02}", 40, 1)
# Current dish temperature
if cooking_state.current_dish_temp is not None:
if cooking_state.current_dish_temp is not None and cooking_state.current_dish_temp is not 0.0:
self.display.blit(fb_image_weather_temperature_bits, 27, 2)
self.display.text(str(int(cooking_state.current_dish_temp)), 37, 6, 1)
self.display.ellipse(54, 6, 1, 1, 1, False)