What I would like to do is the following automation:
Motion gets detected
Turn lights on
After that if no person is detected via Frigate within 30 seconds → Turn lights off
I haven’t figured out a way to do this via UI and I am not able to programm this. Is this possible and if so how?