Enhancing Comfort and Efficiency with Smart Switches