It suddenly stopped working and I see no errors in the logs. For some reason it’s not triggered anymore. The script itself is also running just fine. For some reason the automation seems not to be triggering anymore.
Why do you have a condition in this automation…if the lights are already on 25 minutes before sunset, they will stay on. If they are off, they will turn on.
Good point. Haven’t looked at the condition in that way.
Still wonder why the automation is not triggered. I think it has to do with the minus offset. Will test that tomorrow. With a plus offset, it works, strangely.
And it’s running fine again. Issue seemed to be the id. I think something was messed up by it and therefor would not start. Replace the id and now it’s running fine again.