add thermostat support