Sonoff TX Ultimate

Hello,

I am researching my new smarthome system.
Al want to use a Sonoff TX Ultimate or Sonoff M5 switches to control Sonoff or Shelly dimmers.
I was thinking to use the following settings:
short up = light on
shot down - light off
long up = intensity up
long down = intensity down

Or with the TX Ultimate
Short tap = ON/OFF
swipe up = intensity up
swipe down = intensity down

I am planning to flash all the devices with esphome (or with Tasmota if nessesary)

Has someone already done this or is this even possible at all?
Hope someone can help me.

Hi Peter,
any update on this one? Did you manage to implement this?
Kind of interested as I have a similar configuration in mind.
Florian