Timer after automation

Hi!

I have an automation firing off when we get home. So I turn on certain lights.
I’d like to turn off certain lights again 10 minutes later. I have no idea how to do that. Any hints?

check out delay, https://home-assistant.io/components/script/

should be something like

- someaction
- delay: '00:10:00'
- someotheraction

ah! that would be simple! Thank you!