SeanPM5 / homeassistant-config

14 stars 0 forks source link

Tweak the Sleeping bayesian binary sensor #34

Open SeanPM5 opened 5 years ago

SeanPM5 commented 5 years ago

There are a number of existing issues with my bayesian binary_sensor sleep tracker. Works well 95% of the time, but need to make it perfect.

The bedtime routine automation has conditions in place to prevent it from triggering under these situations, but I need to add similar probability values to the sensor itself. Because the "Time Slept" sensor gets info directly from the state of binary_sensor.sleep and it'll be inaccurate otherwise.