Hey, Thanks for all the work so far.
Got a bit of a question for you. I live in Norway, so when using sun elevation settings, simply using a time based trigger wont work. As well, the sun rising and setting has a large variation between summer and winter.
So instead, to trigger it, i use a threshold sensor, and set the elevation about 5% more than what i want when starting to set, so in practical terms, i set the binary sensor, so that the sun is 20% over the horizon, using the sun integration in home assistant, which gives current elevation.
When the sun dips below 20%, the binary sensor turns on, it stays on until it goes over 20%.
So far, this has worked great for turning ON the lights, see I want my lights to turn ON when the sun goes down, and off when they come up. I am using elevation inverted, and as i said the ON works greatā¦ itās the OFF
It doesnāt seem to happen.
What iām expecting, is that whilst the binary sensor is on, the automation is running, constantly checking the elevation and updating the lights accordingly, but what I think happens is that only when the binary sensor turns from OFF to ON does the automation run, until the lights get to 100% then it stops the automation.
So I am going to experiment with an inverse of the binary sensor, one that turns ON when the suns elevation rises above say, -10% where the llights should start turning OFF when the sun goes from -5% to 5%
Thoughts?