Change State when microwave state is Idel

This commit is contained in:
2026-08-23 14:22:39 +02:00
parent 3bead59b23
commit 289124b7f8
+3
View File
@@ -344,6 +344,9 @@ async def lora_process_task():
microwave_state = new_state
if new_state not in (MicrowaveState.ALERT): # Not alert so we can show the error
update_screen()
if new_state == MicrowaveState.IDLE:
cooking_state = None
await asyncio.sleep_ms(20)
await asyncio.sleep_ms(100)