How Smart Homes Are Contributing to Sustainable Living