i use a macro that set flag 11 at dusk and clears it at dawn for a night time condition. that way it only requires 1 entry.
first macro looks for flag 11 on and checks that the lights are off. ( turn on light @ 50%)
else looks for flag 11 on and checks that the lights are on ( light to 100% ,wait 2 minutes , lights to 50% )
that seems to work for me. ( the night time condition can't be used because it also requires 2 time entry's )
note: i'm not sure what the system uses flags for but i do know that 1,15 keep showing up set so don't use 1 or 15 , flag 11 seems to be safe so far) good luck jerry