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.