Do this in two separate rules
In simple automations turn the light on to 30% at sunset and off at sunrise
then in a separate rule maybe motion lighting set up the rule to dim up to 100% on motion and back to 30% when inactive. restrict to sunset to sunrise.