Is there a way to set motion sensor trigger for a bulb only during certain hours?

What I would like is the bathroom light to come on via a motion sensor trigger and then at night, come on at 1% brightness all night. I have been messing around with light with the App Shortcuts and IFTTT but cant seem to make it work. Any ideas are appreciated.

1 Like