But there was an equivalent: a mechanical switch. Or an electromechanical relay. Or a spinning wheel with electrical contacts.