Help making a rule with a thermostat

This might be what you are looking for.