Energy-Saving Strategies for Smart Homes