No description
Find a file
2024-05-10 19:38:50 -06:00
custom_components/saas Add files via upload 2024-05-10 19:34:59 -06:00
.gitignore Create .gitignore 2024-05-05 20:48:10 -06:00
hacs.json Update hacs.json 2024-05-09 19:32:19 -06:00
LICENSE Create LICENSE 2024-05-05 20:55:31 -06:00
README.md Update README.md 2024-05-10 19:38:50 -06:00

Add to HACS

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 To My 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: 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.
  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.
  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.