Script to arm envisalink alarm with by pass does not work

I’m using envisalink integration with a DSC alarm system and integration works fine. I’m able to arm / disarm the alarm from the Lovelace card.
Now I want to arm the alarm after doing some zone bypass in a script. I thought to use alarm_keypress for this.

alias: Alarm with By-pass
  - service: envisalink.alarm_keypress
      entity_id: alarm_control_panel.my_alarm
      keypress: "*107#"
  - delay:
      hours: 0
      minutes: 0
      seconds: 1
      milliseconds: 0
  - service: alarm_control_panel.alarm_arm_home
    data: {}
      entity_id: alarm_control_panel.my_alarm
mode: single
icon: mdi:alarm-panel

The script does not do anything although it seems to be running (I see trace with execution time for each step). The DSC alarm is ready to be armed when I run it. Do you see anything wrong?