Might be useful info here
There may be api (some web address to connect at on device) that allow you to trigger its relay
If so you may easily use ha to do this
EDIT
I would also verify that the hikvision integration doesn’t work for this in some way