[](https://hacs.xyz/docs/faq/custom_repositories)<br>
Sleep As Android Status is my solution for wake/sleep state within HA. It listens for the Sleep As Android MQTT Messages, so it does require being on the same network. As of 0.0.4 Buttons that link with the Companion app have been added.</br></br>
Add https://www.github.com/sudoxnym/saas to your Custom Repositories in HACS</br>
Search and Download SAAS - Sleep As Android Status</br>
Restart Home Assistant</br>
[](https://my.home-assistant.io/redirect/config_flow_start/?domain=saas)<br>
Add Integration: SAAS - Sleep As Android Status</br></br>
Awake Duration: This is for tuning. Time in seconds in which awake states = true to indicate awake. Sensor usually updates within 30 seconds or so after the duration, not entirely sure why the delay.</br>
Asleep Duration: This is for tuning. Time in seconds in which sleep states = true to indicate asleep Sensor usually updates within 30 seconds or so after the duration, not entirely sure why the delay.</br>