Wth cover.toogle is useless?

I was able to create an automation that enabled one button to cycle through down/stop/up like described in the above posts. See Emulating Shelly 2.5's 'One button' input mode for Roller Shutters