How do I use an event from scrypted\OpenCV to trigger an action?

I’m using Scrypted and OpenCV to connect an RTSP camera to my network. Both are hosted on my HA server using HAOS.

I’ve set them up to look for motion on the RTSP stream, but I can’t seem to find a device or state in HA that corresponds to this to use as a trigger for an action.

I’m new to this so I don’t know what information you might need or necessarily how to find it for you.