Building a Green Smart Home: Energy-Efficient Automation That Saves Money