Simple automation help hass/verisure to Vera indication

Trying to get on so Vera can talk to Verisure. Has installed Hass with verisure plug in on pi3 and can change state on the lock (Front door).
I want the virtual lock in Vera
to changes position when Front door in hass changes. And then also when front door in haps changes the virtual lock in vera changes
It’s the first time I’m doing this o Hass

I’m trying to use hass as a bridge between yale doorman(versure) to haas and then to Vera Plus
How do i do it ?? spent several hours and can’t understand the automations in hass. In the vera it would take 1 minute to setup…
Thanx