We have automatic steam cutoffs that are entirely mechanical. I have built a state machine out of hardware logic that would have cost less than a dollar with a microprocessor but was preferred because it could be verified to work and not be remotely “upgradeable”.