Automating Reolink Camera with Presence Awareness

I would like to automate my Reolink cameras. I am setting up cameras in my condo but I don’t want then recording when I am home. Specifically, we lock our dog in our bedroom when we leave. I want the camera on during that time, ski we can check up on her. I don’t want the camera on when my wife and I are home. I.e. going to bed.
I have presence awareness working in HA. Is there a way to trigger the camera on/off through a automation based on presence awareness?

If person is home, turn camera off.

Funny but I want to automate the turn off/on

With the Reolink integration you have the possibility to modify the rec mode.
Link this parameter with your presence