Added thermostat fragment