Cover from two switches

Hi all.
I’m integrating a comelit system on home assistant, and trying to figure out hot to manage a cover. In the original system there two button:

  • press button 1: cover start opening.
  • press button 2: cover stop moving
  • press button 2: cover start closing
  • press button 1: cover stop moving
    If I press button 1 while opening or button 2 while closing, nothing happen.

Now, on HA, those 2 buttons are exposes as two lights. When “pressed” in HA, they stay on for one sec then goes off and the cover start moving in the corresponding direction.

I’ve tryied to transform them on a cover with this extension

It partially work, but just for opening and closing, if I want to stop the cover, or open it partially, it doesn’t work and just goes full open or close.

Any idea on how to handle this conf and having a cover with percentage working?

Thanks!