A woman is sleeping in her bed and the smart home system analyzes her sleep patterns.