This simple circuit shows how a little 220V electric actuator works for selecting and control the status of a 3 ways valve deployed in many water heating devices we have at our homes. The 6.7H inductor and 6Kohm series resistor represent the electric motor. The commuting switch is driven by a mechanical cam system located inside the actuator that opens the switch once the rotation has reached its final position and close the other one granting the motor to be activated by a second criteria. For example, this is actually what happens when the heating elements are fed and you claim to have hot water at your pipe.. The logic under this mechanism needs to know the valve position thus, the voltage across the two resistors supply the minimal power to lit on an opt-coupler (the two leds).