I want to use sun.sun.attributes.elevation in my Bayesian binary sensor to more effectively calculate the likelihood of it actually being dark enough to turn on the living room lights.
Ideally, this would work like the value_template elevation example here
But, I don’t think the Bayesian binary sensor supports value templates. Any suggestions on how to do this?
If value template was supported this is what I want (with several other observations of course):
just stumbled upon your thread while looking for some inspiration on the bayesian sensor. If you want to discriminate between different day phases (day-dusk-night-dawn) for your probability calculation, this thread might be of help: