Here’s what an expert recommends doing with your thermostat before leaving for vacation.