Command_link cover card configuration

I’ve got some PowerShades window shades which don’t have an integration but I got them working with the following command_line settings and a custom python script to call their API. The same script accepts arguments so I know whether to tell their API to open or close the shades:

command_line:
  - cover:
      name: Addition Shades
      unique_id: addition_shades
      command_open: "python3 /config/python_scripts/powershades.py Addition up"
      command_close: "python3 /config/python_scripts/powershades.py Addition down"

So this is great and it works nicely BUT in the UI, it shows with up arrow, stop button, and down arrow. Is there any way to show this cover like RATGDO ESPHome garage door cover in which it’s not only up and down but can be set to a specific percentage using a vertical slider so I can open my shades a specific amount with command_line integration or maybe some other way to get open/closed/percent in a dashboard card that can call a python script?

Have you looked at creating a custom cover template to call your command line? That way you can define what parts you wish to have, whether it’s treated as a blind or a curtain, etc? I don’t know if that helps solve the problem, but I use template covers for all sorts of things and it gives me a lot of flexibility.

And you can play with which cover version best suits your needs in the device class.

Thanks, but it seems these options aren’t available with the command_line integration.

'set_cover_position' is an invalid option for 'command_line'

The template cover just executes whatever you defined for your command line, you don’t have to reinvent anything, just using the cover as a way to get to your end goal. So in the on/off/set position commands you tell it to run whatever command line you wish.

I get that but what I’m not seeing is how to get the UI element for set cover position like my garage door has and then pass that value to the command_line integration commands since they only support up/down/stop.