Momentary Function for Zigbee switches

Hello there,
After countless hours trying, and not finding the good way to configure my momentary switch, I decided to post here, to see if someone could help me.

I have in my house 3 buttons in the main entrance, all of them are chained, and connected to a teleruptor, somewhat classic.

My problem is that I can’t get any module to work as momentary into HA :

I sucessfully managed to make a B2Z from NOUS to work, all physical buttons work like a charm, interacting with the teleruptor, the device is integrated into z2m, and I can control it.

The main problem is that even if I set it as momentary, any press on the entity will act like it s a classical switch, and the teleruptor starts to cry, until I press back again to simulate a release action.

One fix was just to use an automation, and yeah, it works, but hell that s crappy, and it relies on the fact there won t be any outage in z2m.

#- alias: "Impulsion Lum Entrée via Button"
#  trigger:
#    - platform: state
#      entity_id: input_button.iot_lum_entree_toggle
#  action:
#    - service: switch.turn_on
#      target:
#        entity_id: switch.iot_lum_entree
#    - delay: "00:00:00.01"
#    - service: switch.turn_off
#      target:
#        entity_id: switch.iot_lum_entree

To get it to work as a momentary button, that s the only way I found, even setting it up as momentary into z2m :

{
    "current": 0,
    "energy": 0,
    "linkquality": 58,
    "power": 0,
    "power_outage_memory": "off",
    "state": "OFF",
    "switch_type": "momentary",
    "voltage": 235

I can’t find a way to just make HA just “toggle”, like there is a single press, and instantly released.

So I tried with a ZBminil2, that has the ability to switch modes as it integrates a momentary mode by pressing 3 times on the button.

Works physically like a charm, but same exact problem in HA, pressing the button forces me to press it again to get the switch wvirtually “released”.

I don’t believe that s something normal / intended, so I may have done something not good, can’t conceive there is no option to get a momentary button simple option in z2m / HA.

Could someone help me ?

Tried with a mqtt trigger ?

Could you give me an example ? Tested sonmany things. I tried to use mqtt directly in action and it didnthe same error.
In fact even configured as momentary, when I press on on z2m, it doesn t release either.

Thanks for your help

what is this the button exactly, can you find it on z2m supported devices pages?
I’m asking because this page should list events emmited by pressing the button. something like …press and …release. then you can use these two events to automate.

ai doubt there will be direct mapping from monostable button to switch reflecting state of the button.

This is this one, looking back on it, maybe the solution is in

You need an inching relay