AC adapter is separate. It's for fans only so they have a constant power supply. Either way your thermostat needs a positive and a neutral going in to it from the power source.chaos isnt the black the positive, red negative,
so the black line goes from xcord to stat, to bulbs, then red goes from bulbs back
they use the other end of the xcord to power the ac adapter