How to display the trigger ID?

Hello,

I have this :

alias: Aaaaa test trigger id
description: ""
trigger:
  - platform: state
    entity_id:
      - binary_sensor.motion_sensor_living_occupancy
    to: "on"
    id: dit_is_de_trigger_id
condition: []
action:
  - service: notify.gmail
    data:
      message: "Dit is de trigger ID : {{ trigger.entity_id }}"
mode: single

How can I display ‘dit_is_de_trigger_id’ (I know, this is wrong {{ trigger.entity_id }}) ?

{{ trigger.id }}

Reference: Available Trigger Data

1 Like

Thank you !