Completely lost trying to get a light to turn off after 10 minutes based on motion

Understood. I tried a bunch of different ways to do the motion lights and the timer was by far the best solution for me. It put me in a better mindset with the event driven nature of HA. Best of luck!

Because I migrated everything from ST to HA, except the storage under the stairs. My ST hub exists only because a door switch and a lamp. I still have my ST hub connected because of this automation.
Child opens the door and triggers de door switch, turning the light on. Almost never closes the door, and the light stays on.
On ST there’s a condition to keep it on for maximum 10 minutes.

I’m happy I’m not the only in this boat.

Btw, is there already a simple solution for this?