Door/Window sensor sometimes only sends "closed" even though the door was opened and closed, but fast

I have this binary sensor as a door sensor:

  - platform: mqtt
    name: "Bagdør"
    state_topic: "sonoff/tele/rfbridge/RESULT"
    value_template: "{{value_json.RfReceived.Data}}"
    payload_on: '2D2C0A'
    payload_off: '2D2C0E'
    device_class: Door
    optimistic: false
    qos: 1
    retain: false

It works fine when the door is open more that 2 seconds, but if the kids hurry in the payload_on is never received and only the payload_off is received.

Is there a way that I can simulate a door open for eg. 2 sec if I receive at “door closed” event when the door is already closed?

I want Home-Assistant to recognize it as if the door was opend for 2 sec when it receives a “door closed” when the door already is closed.

Does the tasmota log show the logic u think is happening

Yes … i have added the log of the RF Bridge. I did 2 slow open/close and 3 fast open/close.
Open events is where Data ends with “A” and close events end with “E”.

22:33:58 MQT: sonoff/tele/rfbridge/RESULT = {"RfReceived":{"Sync":13980,"Low":450,"High":1370,"Data":"2D840A","RfKey":"None"}}
22:34:02 MQT: sonoff/tele/rfbridge/RESULT = {"RfReceived":{"Sync":13940,"Low":450,"High":1360,"Data":"2D840E","RfKey":"None"}}
22:34:07 MQT: sonoff/tele/rfbridge/RESULT = {"RfReceived":{"Sync":13930,"Low":450,"High":1360,"Data":"2D840A","RfKey":"None"}}
22:34:10 MQT: sonoff/tele/rfbridge/RESULT = {"RfReceived":{"Sync":13980,"Low":450,"High":1360,"Data":"2D840E","RfKey":"None"}}
22:34:17 MQT: sonoff/tele/rfbridge/RESULT = {"RfReceived":{"Sync":13980,"Low":470,"High":1350,"Data":"2D840E","RfKey":"None"}}
22:34:24 MQT: sonoff/tele/rfbridge/RESULT = {"RfReceived":{"Sync":13930,"Low":470,"High":1340,"Data":"2D840E","RfKey":"None"}}
22:34:30 MQT: sonoff/tele/rfbridge/RESULT = {"RfReceived":{"Sync":13990,"Low":460,"High":1350,"Data":"2D840E","RfKey":"None"}}

I’m thinking it’s the thing sending the code is the problem not tasmota or HA

When I get home I’ll try some fast open closes on my doors

I’m using these GS-WDS07 door sensors GS-WDS07 on

I have 2 and they act the same.

My tasmota version on the rf_bridge is version 6.4.1