Battery cabinet heating and cooling technology