Simple light routine turn on / turn off

Hey people,

I am fiddling with my ZHC5010 multi button / switch thing and webcore.
This is starting to hurt my mind and I need some help.

Have these two simple pistons when I press the button nr 4 I want light to turn on and off based on sunrise and sunset.

But seems like the preset condition is not working. The lights turns on but only one light is turned off when the button is pushed again.

Tried to do it in one piston and also split it up. Same result. I am doing this completely wrong?


Thanks. I tried that but didn’t make any difference.
Furthermore it doesnt seems like you can set the condition on the turn on action.