Changed: Changed 'id' fields in Thermostat to proper column name