Repository navigation
v0.3.18 — Fix: brew main drink before auxiliary switch actions
What's Changed
Fixed
-
Drink is now brewed before auxiliary switch actions in a combined step — Previously, when a recipe step contained both a drink and switch_counts (or switches / switch) fields, the auxiliary switch actions were executed first and only then the main drink was brewed. This caused incorrect behaviour for recipes such as CaffeLatte + Double Hotmilk, where hot-milk frothing ran before the espresso shot.
The execution order inside _execute_step has been corrected: the drink is always brewed first (select option → set double → start → wait for completion), and only after a successful completion are the switch steps executed in sequence. Fault handling and abort support are preserved for both phases.
Upgrade Notes
No configuration changes required. Existing recipes will automatically follow the corrected execution order.