Hey folks – just wanted to share an overhaul I did on the Sleep As Android HACS integration (SAAS) I built a while back.
If you’re using Sleep as Android and want local, reliable, and real-time sleep tracking inside Home Assistant, this will get you there—no cloud junk, no polling delays.
What’s New in the Overhaul:
- Rewritten to persist configuration properly in UI
- All optional sensors now actually work
- State is now a proper dropdown (
awake
,light
,deep
,asleep
) - Better attribute structure for automations and Lovelace display
- Much more robust MQTT parsing
Features:
- MQTT-based integration (Sleep as Android supports this natively)
- Tracks sleep state, duration, noise, and more
- Plays nice with automation triggers (lights off, scenes, etc.)
- Purely local – no internet required
Install via HACS:
Add this repo as a custom integration:
https://github.com/sudoxnym/saas
I use this to automate wind-down routines, cut lights/sounds on sleep start, and queue up morning automations when waking. If you’re into automating your sleep hygiene or just want to track sleep without a subscription, give it a shot. Feedback/bug reports welcome!