Switch from EJLR-1000 to Zigbee Controller

Hello
I need some help to switch my EJLR-1000 who control the garage door.
I want to replace it to the MODULE 1 SORTIE CONTACT SEC NO OU NC ZIGBEE (230V - IP44) - VESTA .

If I’m good with this two diagrams the following switch will be fine ?

  • OLD PIN → NEW PIN
  • COM → 6
  • UP (X) → 5 (NO)
  • DOWN (X) → 7 (NC)
  • L → 3 (Line AC input)
  • N → 4 (Neural)

Thanks for your help !
Félix