I have some ring cameras connected with the native Ring integration, and the motion detection just seems to come in as a vanilla event with no "state" or value to check for- just the time that it occurred. Essentially I am trying to make an automation that does something like the following:
- turn switch
ONwhen event is received - wait for 10 minutes
--- if another event is received, restart 10 minute wait - turn switch
OFF
I have successfully had it turn ON using the event to trigger the initial action, but I'm unsure how to set the rest up. Many thanks for anyone who has any hints!