AI-Driven Analytics for Smart Home Systems