I'm looking for something like this as well, only with regular switches. What i can find on the forum and docs (Shelly Dimmer 2), it is not a 'simple' config setting. Instead I'll be setting the button type to edge mode and handle this in Home Assistant or WebUI...