Using motion sensor after sunset

Hi,

I have outside lights which come on dim at sunset.
I also have a motion sensor which switches the outside lights to bright when activated (for 10 minutes).
The motion sensor returns the lights to their previous state after the 10 minute activation.
This works perfectly most of the time, but it fails if the motion sensor activates the lights just before sunset as the lights go off after the 10 minute activation (I assume due the previous state).
Is there a way to resolve this using normal Hue settings?

Thanks

AlanE