Use somfy remote keygo RTS with RFlink

I’m trying to use a somfy Keygo RTS remote with Rflink.

At this point, I think I’m not that far. Here is a part of the log when I push a button:

2023-06-14 22:45:43.017 DEBUG (MainThread) [rflink.protocol] received data: 1935;SWITCH=01;CMD=STOP;
2023-06-14 22:45:43.021 DEBUG (MainThread) [rflink.protocol] received data:
2023-06-14 22:45:43.022 DEBUG (MainThread) [rflink.protocol] got packet: 20;12;RTS;ID=27e1935;SWITCH=01;CMD=STOP;
2023-06-14 22:45:43.022 DEBUG (MainThread) [rflink.protocol] decoded packet: {'node': 'gateway', 'protocol': 'rts', 'id': '27e1935', 'switch': '01', 'command': 'stop'}
2023-06-14 22:45:43.023 DEBUG (MainThread) [rflink.protocol] got event: {'id': 'rts_27e1935_01', 'command': 'stop'}
2023-06-14 22:45:43.023 DEBUG (MainThread) [homeassistant.components.rflink] event of type command: {'id': 'rts_27e1935_01', 'command': 'stop'}
2023-06-14 22:45:43.023 DEBUG (MainThread) [homeassistant.components.rflink] entity_ids: ['switch.rts_27e1935_01']
2023-06-14 22:45:43.023 DEBUG (MainThread) [homeassistant.components.rflink] passing event to switch.rts_27e1935_01

my configuration is the following :

  port: /dev/serial/by-id/usb-Arduino__www.arduino.cc__0042_5573932323735170C0B2-if00

  - platform: rflink
    automatic_add: true

  - platform: rflink
    automatic_add: true

  - platform: rflink
    automatic_add: true
      rts_27e1935_01: {}

my entity switch.rts_27e1935_01 seems to be recognized.

Which event (or anything else) must I use to catch the event ?

Thanks for help

It’s always when you post after spending two days on something that you find …

Like explained here, RFLink Switch - Home Assistant , I must add fire_event: true so I can track a button_pressed event.

It works know