That can be made using the action time.delay.All actions are run in
sequence so you can add a time.delay action between turning on and
turning off the light defining the time you want the light to be on.
Idea: Add the ability to know what device was the starter of an
assistant.event.OkGoogle action.Example automation: I would like to have
some "Turn on the lights" automations that turn different set of lights
depending on what device has listened to ...