The Role of AI in Predictive Maintenance for Smart Homes