Using Smartthings app to set a time rule. How to accomplish

Hi, i have a basic all smartthings setup in my home.
At my age, a 3am loo visit is about 90% certain. As i walk into my bathroom, the sensor picks me up and turns on the light at 1% bright.
Can i set a rule so that between say midnight and 5am, it will only be at 1% bright but during the other hours, it comes on at 100% brightness?