Routine light timer

I have a bed time routine , it turns certain lights on and off. My question is is there a way to turn lights on for a certain length of time in the SmartThings bedtime routine ? I don’t seem to be able to select any sensors in the routine.