Apologies for the newbie question…
I am trying to create an automation that will trigger living area lights based on motion, but only in the minutes immediately after arriving home.
I.e. automation will trigger lights based on state of kitchen motion detector changing from ‘clear’ to ‘detected’ AND person entity changed from
‘away’ to ‘home’ some time in the last 2 minutes.
Thanks in advance.