Using heat with an air conditioner is the only way to control humidity and temperature in any environment.
Dehumidifiers create allot heat. An AC unit would remove humidity until it achieves the desired temperature then stops removing moisture, and that’s where the heat comes in, to boil off the humidity so the AC can catch it and drip drip drip.
It really is the best way to drop both heat and humidity and maintain a perfect temperature and humidity, artificial lights usually create enough heat to drive humidity away.
However when the lights go out there’s no more heat to move the humidity away to the AC, it then becomes cool and DANK without a heat source, especially in a grow environment with plants perspiring all the time along with evaporating water from the system.
As a general rule winter is dryer and summer is wetter, so AC in the winter is unnecessary as the heating system drives off all the moisture to wherever it meets the cold and “condenses”.
When I was sleeping in the clouds at higher elevation, heat and AC were an absolute necessity! One without the other was USELESS! The windows became dripping wet on the OUTSIDE while I was warm/cool and COMFORTABLE sleeping like a baby!