Favourite position Button

Hello!
I have a shelly 2.5 that controll a roller shutter. The shelly work regularry and calibration is succesfully completed. It si configured with MQTT and i have card in Lovelace.

I would need to create two buttons to manage the preferred positions of the shutter: 75% and 25%.

I’ve been going crazy for days to create them but I can’t.
Any suggestions?
Thanks!

Create a script with set position to 25%.
In Lovelace add a button card and as entity enter script.yourscript.

Greetings

Or a couple of scenes, either via the UI or in YAML.

Then assign each scene/script to a button tap_action.

1 Like

Mmm. I’m a newbie: how can i create this type of script?
Thanks a lot!

script: call service: type position, choose and from there you go