Enocean pushbutton doublepress configuration

Hello,
I am on openhab 3.
I use an Enocean binding and I have a configuration problem.
I would like to have some help on how to set up a rule.
I use an enocean pushbutton as a trigger.
In the choice of channels “pushbutton” works well but I can’t get “longpress” and “doublepress” to work.
In the event parameter I tried with pressed or released.
Here below the code of the rules:

triggers:

  • id: “1”
    configuration:
    thingUID: enocean:pushButton:FT5MY15J:003A91C5
    event: PRESSED
    channelUID: enocean:pushButton:FT5MY15J:003A91C5:doublePress
    type: core.ChannelEventTrigger
    conditions: []
    actions:
  • inputs: {}
    id: “2”
    configuration:
    itemName: TZ30004js9lo5dTS0012_847127FFFEA48D41_2_Switch
    command: ON
    type: core.ItemCommandAction

Best regards
Thibault