Microsoft interview question

Design a home temperature control system.