Help with timeout automation

Hi to all.
I’ve installed home assistant supervised in Raspberry so for the first time, and I create many cards for my house, at begin it was impossible but now it’s more simple.
Now I have a hole in my head, I don’t have any idea to do a simple thing.
In my Lovelace I have one home card and many sub menu cards, any sub menu cards have a button to return to home.
I want an automation that return to homepage after some minute.
I want this because someone can forget to press the home button.
Thanks to any reply