Morning!
I was curious if there is a better way to utilize sleep tracking on IOS device. I’ve tried using the charging status and it’s very hit and miss even if device is charging and states so, it somehow will trigger the light automation despite it not passing condition. I also tried the focus state this worked a lot better however often it will not change states inside HA when I enable it on my phone, it then just stays to off and won’t switch of to focus on.