Modern appliances might seem like complex, unpredictable black boxes, but they are actually very simple state machines.
Every appliance follows a rigid script called the Sequence of Operations. It cannot move to step 4 until step 3 is completely finished and verified.