Shelly 1 with ESPHome and momentary switch type

Hi,

I have a light in my hallway. It can be controlled with three push-switches. In the electrical subdistribution an “Eltako” (impuls switch) is then switching on the light. So one push switches the light on, another push off.

I want to replace the “Eltako” with my Shelly 1. To work with the push-switches you must change the type. In the St CK firmware the type is called “momentary switch”.

Has anybody a esphome yaml configuration for this?

I only have the simple configuration for toggle switches.

Best regards
Goran