Nonreciprocal directional dichroism, also called the optical-diode effect, is an appealing functional property inherent to the large class of noncentrosymmetric magnets. However, the in situ electric control of this phenomenon is challenging as it requires a set of conditions to be fulfilled: Special symmetries of the magnetic ground state, spin excitations with comparable magnetic- and electric-dipole activity, and switchable electric polarization. We demonstrate the isothermal electric switch between domains of Ba_{2}CoGe_{2}O_{7} possessing opposite magnetoelectric susceptibilities. Combining THz spectroscopy and multiboson spin-wave analysis, we show that unbalancing the population of antiferromagnetic domains generates the nonreciprocal light absorption of spin excitations.