updated thermostat sensor template