I am trying to setup an automation using Purpose-specific triggers for switching off a light when a room has been unoccupied for 10 mins or more.
I can't seem to find a way to set a "for x minutes" with the new triggers. Is this possible? If so what would the syntax be for the yaml?
Any help greatly appreciated - thanks