When Diagral integration receive webhooks from the Diagral Cloud, all Webhook received are propagated to Home Assistant Event and can be monitor with the event type DIAGRAL_EVENT.

The information provided by the received webhook is located in the data key.
The type can be:
STATUSALERTANOMALYUNKNOWN(If you encounter this issue, please open a GitHub issue and provide all relevant event details for further investigation)
Information
The relationship between alarm_code and type is documented here.
Additional fields include:
transmitter_id: ID of the device that triggered the eventalarm_code: Alarm code defined internally by Diagralalarm_description: Description of thealarm_codeprovided by Diagralgroup_index: Group ID or specific group (e.g., NIGHT_MODE_GROUP_CODE) affected by the action that triggered the eventdetails:device_type: Type of device (e.g., CAMERA, CENTRAL, COMMAND, SENSOR, SIREN, TRANSCEIVER, TRANSMITTER)device_index: Sensor ID (empty ifdevice_typeis CENTRAL)date_time: Datetime when the event was emitted by Diagral
user:username: The full name of the user who initiated the event (if it was triggered by a user action)user_type: Type of user
date_time: Date and time when the event was initiated by Diagral
Information
Username information from events is also stored in the Alarm Control Panel attributes under the changed_by field.