Switch Panel Disarming in Custom Alarm

Hi

I have applied the Custom Alarm system for HASS, which I have to say is excellent and well worth reviewing, but am having an issue.

In addition to using the HASS web interface to arm and disarm the alarm I would like to use the Remotec ZRC-90 , which is already conveniently located near my door and has spare buttons for use.

I have successfully configured one of the buttons to arm the alarm, with the other existing buttons all working for scene control, but the disarm action for the alarm is not working. The following is my automation config

- id: '1542542096025'
  alias: ZRC Button 1d
  trigger:
  - platform: event
    event_type: zwave.scene_activated
    event_data:
      entity_id: zwave.remotec_zrc90
      scene_id: 1
      scene_data: 3
  action:
    service: light.turn_off
    entity_id: light.entrance
- id: '153852096025'
  alias: ZRC Button 8
  trigger:
  - platform: event
    event_type: zwave.scene_activated
    event_data:
      entity_id: zwave.remotec_zrc90
      scene_id: 8
      scene_data: 0
  action:
    - service: alarm_control_panel.alarm_arm_away
- id: '125182096025'
  alias: ZRC Button 7
  trigger:
  - platform: event
    event_type: zwave.scene_activated
    event_data:
      entity_id: zwave.remotec_zrc90
      scene_id: 7
      scene_data: 0
  action:
    - service: alarm_control_panel.alarm_disarm
      entity_id: alarm_control_panel.house

I know the event is working, as when I add light action the control of the light works.

Literally nothing happens when pressing the button in relation to the alarm disarm action. I have seen other posts and this disarm function is working with other switches and panels, so I cannot see why it is not working with this setup.

Any help is gratefully received.

Mark

Sorry to bump, but if anyone is able to help me understand why this disarm action isn’t working

thanks

I managed to work it out and feel a bit stupid for not thinking I needed to pass the code in the service action call:

action:
- service: alarm_control_panel.alarm_disarm
entity_id: alarm_control_panel.house
data:
code: 9999