Add humidifier data for 2nd-generation thermostats.

Various fixes, and added humidifier data for 2nd-generation thermostats.