Alarm: Arm multiple areas with one button

Hello,

I am using Satel Integra integration. My goal is to arm multiple areas with a push of a button.

In the code below I am trying to call service to arm two partitions, however only the alarm_control_panel.second_floor gets armed.

service: alarm_control_panel.alarm_arm_away
target:
  entity_id:
    - alarm_control_panel.second_floor
    - alarm_control_panel.garage
data:
  code: "1234"

I am looking for advice on how to arm both of these partitions. Thank you!

I also tried to do it like this:

script:
  arm_garage_and_third:
    sequence:
      - alias: "Arm garage"
        service: alarm_control_panel.alarm_arm_away
        target:
          entity_id: alarm_control_panel.garage
        data:
          code: "1234"
      - alias: "Arm third floor"
        service: alarm_control_panel.alarm_arm_away
        target:
          entity_id: alarm_control_panel.third_floor
        data:
          code: "1234"

Only garage gets armed. I am confused. Is there an issue with my HA code?

To arm multiple partitions you would normaly need to send a list in a 4 byte format, then you would be able to arm multiple partitions at once.
It is not possible to send another arm when the first one is still busy. The Integra will just ignore that message till its done.

2 ways to deal with this (besides asking to change the Integration in HA to allow for this)

  • Create an automation that waits for the first partition to arm and then sets the second one.
  • In the Intergra create a virtual zone that follows a virtual output which you can switch from HA (the output).
    Set the zone to arm and select the group you defined in the In/Out groups tab (not 100% of the English term used in Dloadx)