Scene Light % based on time of day

I have installed lights controlled by motion sensors in my hallway. Want to have them dimmed after midnight, so we don’t get blinded when we get out of bed to visit the toilet (we normally do it without switching on the lamps).

Any advice how to configure scene/device properties based on schedule, or maybe use a different scheme in the automation rule?

I’d just make whatever scenes you want with lights dimmed as intended, then in your automation just use if>then with timeframes. Or if you only have two, you could just use a condition (after midnight, before 6am).