Microsoft Interview Question

Design a home temperature control system.