1. A method for security and/or automation systems, comprising: calculating a temperature adjustment time of a room in a residence; detecting an alarm activation time on an alarm device; determining an adjustment time to automatically adjust a temperature setting based at least in part on the temperature adjustment time and the alarm activation time; and automatically adjusting the temperature setting based at least in part on the adjustment time.