Here's a teardown of the thermostat for those that are into circuit pr0n:

http://www.sparkfun.com/tutorials/334
_________________________
-Aaron