Patent attributes
A method includes a system that operates according to a control schedule; detects events that indicate occupancy; stores a record of the events that indicate occupancy in one or more memory devices; and enters an auto-away state. A determination to enter the auto-away state may be based at least in part on a length of a time interval during which no events that indicate occupancy were detected and the stored record of the events that indicate occupancy. The system may also detect a pattern of instances where the auto-away state is entered over a plurality of days and adjusts the control schedule based at least in part on the pattern of instances where the auto-away state is entered.