FYI the a/c thermostats are very unreliable and will, in combination with compressor delay, cause major temperature swings. not good for closet grow because temp swings cause internodal stretching making buds less compact and plants will take up more space. In some cases it can be bad enough to stress your plants pretty bad. Seriously avoid portable a/c's. That is from person experience and I was not happy with the money I spent or the results I got for the money.
A window ac will blow heat out the back which will heat the bed room like you wanted...

hope this helps