| .gitignore | ||
| __init__.py | ||
| config_flow.py | ||
| const.py | ||
| hacs.json | ||
| LICENSE | ||
| logo.png | ||
| manifest.json | ||
| README.md | ||
| sensor.py | ||
SAAS - Sleep As Android Status
Description:
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.
When finished this integration will create 7 entities and 1 device per user:
Message Received *State
Wake Status
Sound
Disturbance
Alarm
Lullaby
Sleep Tracking
This should intelligently and dynamically allow for state changes in the Wake Status Sensor.
Installation:
Add https://www.github.com/sudoxnym/saas to your Custom Repositories in HACS
Search and Download SAAS - Sleep As Android Status
Restart Home Assistant
Add Integration: SAAS - Sleep As Android Status
Configuration:
Name: Name of user
Topic: MQTT Topic from Sleep As Android
QoS: Quality of Service
Awake Duration: Time in seconds in which awake states = true to indicate awake
Asleep Duration: Time in seconds in which sleep states = true to indicate asleep
Awake States: States to indicate being awake
Asleep States: States to indicate being asleep
Please report any issues.
This is my first integration.
Built this in less than a week, with no prior knowledge of Python.