Spin analogs of thermo-magnetoelectric phenomena for heat switches