Smart Lighting Routine Suggestions Needed

Hi all, I’m struggling to get my brain around the logic for a night light system I’m trying to configure. Over a 3-story house, I have 3 motion sensors on each landing. The idea is that at night/when it’s dark, movement can turn say the middle landing light on to 10%. I can do this with the smartthings advanced lighting routine by only allowing it to work at sunset - and this works well, but with a fly in the ointment. If I have the lights switched on manually and the sensor is triggered (after sun down), the routine above dims the light to 10% overriding the lights which are already on. I need the movement sensors to ignore movement when the lights are already on. Any ideas? Thanks! :slight_smile: