Auto off after X minutes

This blueprint allows you to select multiple lights and switches to turn off after a specified number of minutes. The resulting automation checks states every 1 minute and turns the entity off if it has been in the ‘ON’ state for more than the specified time. All entities can be independent of each other.

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.