BiDirectional ImpulseTime-CoverPosition sync

I have a similar issue to the one I described here:

since I was obviously overthinking that one, I figured maybe I am also overengineering this one too and am here to check if that’s the case.

I have blinds that are activated by a 1sec impulse UP or 1sec impulse DOWN, or 1sec impulse UP+DOWN to stop in position.

The blinds take about 20 seconds to fully open and fully close, and I’d like a way to always know what their current status is.

I currently have a template_cover but templating the position_template is proving challenging, especially for persistence across reboots, but also in general (moving from 0 to 60% is simpler than moving from 20% to 60% also because of how difficult I am finding to determine the current state).

any help is appreciated :slight_smile:

I tried that and also a fork, but it’s really not working for me, the command is actually quite dangerous for my setup as it keeps looping and triggering on and off commands within seconds, at risk of breaking the engine I suppose.