Risco integration - one entity for consolidated alarm?

Hi all,

I’ve just set up the Risco integration for my new alarm system. Configured the local-only alternative, and after some fiddling it started working.
I can see many added devices and entities. There is group control (away/home/disarm), and per-detector sensors and controls (alarmed, bypassed etc.). I seem to be missing one thing: A sensor for alarmed/not alarmed for the entire group. This is equivalent to when the physical alarm sound is triggered on - when at least one non-bypassed detector in the group is alarmed.
The group entity only has a control, but no state.

Is there not such an entity? I realize I can build an automation or a helper of my own that will create this, but it seems too obvious that I’m missing some “group is alarmed” type sensor.
If there’s none, I guess it’s time for an FR :slight_smile:

Thanks in advance for any enlightenment!

Here’s what I ended up doing, - maybe it will help someone. If there’s a better way (i.e. a feature of the integration), please let me know.

binary_sensor:
  - platform: template
    sensors:
      alarm_triggered:
        friendly_name: Alarm System Triggered
        device_class: problem
        value_template: >-
          {{ 'on' if (
                      states('binary_sensor.area1_alarmed') == 'on' or
                      states('binary_sensor.area2_alarmed') == 'on' or
                      states('binary_sensor.area3_alarmed') == 'on' or
                      states('binary_sensor.area4_alarmed') == 'on'
                      ) else 'off' }}

You can use the “triggered” state on the alarm_control_panel entity. I use the for example in this automation:

alias: Alarm - notificatie
description: ""
trigger:
  - platform: state
    entity_id:
      - alarm_control_panel.risco_alarm
    to: triggered
condition: []
action:
  - service: notify.mobile_app_s22
    data:
      message: ALARM GAAT AF
      data:
        ttl: 0
        priority: high
        channel: alarm_stream
mode: single