Floodlight V2 : lights off during day

Is there a way to set floodlight V2 so the lights don’t come on during the daylight hours?
Even better if you can set to only come on when a certain darkness happens (night, overcast, evil cascading over the land, etc.)

I set up a rule to turn the lights off at 10am but that didn’t seem to work.