Using reolink doorbell to trigger automations

Hello all

I finally installed a video doorbell from reolink. It is integrated into HA. I run HAOS.

I would like to have (eventually by nusing face and licence plate recognition) a way to trigger the opening of the front gate.

The gate is automated by a ditech lca70

I do realise that i will need to ass a"shelly" switch to cause the gate to open fine

I currently have installe in home assitant Reolink integration, frigate (connected to mqtt) and it is connected to the doorbell) and i have a tuya keypad.

The keypad is easy keyin a code 1 the gate fully opens keyin cvode 2 step by step opening of one section of the door.

My question

What do i use: frigate entity as a triggeror resolink entities. I do get a message once a person or package arrive.

Can some one please guide me on this development

thank you in advance