Reliability of automations. Simple daily automation triggers on random days.
I'm having trouble getting simple automations to work reliable.
Example:
I want to switch on and off my outside lamps (two KNX devices) using the Sun variables.
I have tried using "Sun.Day" without success and now I'm trying the Sun.NotDay variable.
Here is my program task:

Here is the current values of the Sun:

And here you see my lights are currently still on: (!)

Why?
I have made a button in my visu to run the program and when I push it the lights turn on/off instantly. So for some reason it does not trigger correctly.
Suggestions?

Hi Joachim,
Your program looks good, I don't see any reason why it is not working properly.
For info, to make your program lighter, you could use "if /else".
Now, the only thing I recommend to try, is to restart the server. I had to do so when making several changes to the configuration to have them really be taken into account and working properly. Not always necessary, but sometime a must...
Hope this will fix it.
Regards,