Repository navigation
v0.3.11 - Fix switch Stage 2 timeout race (beta)
Pre-release
Pre-release
Root cause (from diagnostic logs)
The switch hotwaterdispensing stays ON for the full dispense duration (~30s). With timeout: 30 in the recipe, Stage 2 waited exactly 30s for the switch to turn OFF - the machine's dispense time equals the timeout, causing a race condition where asyncio.wait fired at the same moment the switch turned off.
Fix
Stage 2 now waits timeout + 10s (silent buffer). A step with timeout: 30 will actually allow up to 40s for the switch to turn OFF. The error message still reports the user-visible timeout.
Still includes diagnostic [CRM] WARNING logs from v0.3.10.