diff --git a/src/svelte-components/src/lib/ControllerState.ts b/src/svelte-components/src/lib/ControllerState.ts index 1e90933..462f1cc 100644 --- a/src/svelte-components/src/lib/ControllerState.ts +++ b/src/svelte-components/src/lib/ControllerState.ts @@ -21,6 +21,12 @@ export function handleControllerStateUpdate(state: Record) { } if (get(probingActive) && get(systemReady) && get(homeMachineComplete)) { + if (state.cycle === "idle" && !get(probingStarted)) { + probeContacted.set(false); + probingFailed.set(false); + probingComplete.set(false); + } + if (state.pw === 0) { probeContacted.set(true); }