How to combine attributes and scripts for Mqtt Cover entity?

Hi, can anyone help me how to configurate a mqtt cover.
The following Topics i get from my mqtt device:

The mqtt topic mqtt/ShutterSetPos/set/WzL specifies which position should be approached with a value of 0-255.

Topic mqtt/ShutterActualPos/state/WzL specifies the value of the current position with 0-255.

the script “script.wzlrauf” works like an up button,

the script “script.wzlstop” works like a stop button,

the script “script.wzlrunter” works like a down button.

These scripts send “true” to the topic mqtt/Shutter_Btn/set/WzLDn (mqtt/Shutter_Btn/set/WzLUp and mqtt/Shutter_Btn/set/WzLStop) for 200ms, then false.

My question is. How can you combine these and make a functioning Shutter? I thought templates were an option until now, but i dont get it once again.
Thanks Patrick

Please could someone help me!
Its impossible for me to combine my mqtt topics with my scripts to create a usable cover entity with all the attributes the “standart cover cards” need.

I already startet useless stuff like:

type: custom:button-card
show_state: false
tap_action:
  action: none
custom_fields:
  waschstop_cover:
    card:
      theme: transparentblue
      show_name: false
      show_icon: true
      type: button
      icon: mdi:stop
      tap_action:
        action: perform-action
        perform_action: script.waschstop
  waschdn_cover:
    card:
      theme: transparentblue
      show_name: false
      show_icon: true
      type: button
      icon: mdi:arrow-down-bold-box
      tap_action:
        action: perform-action
        perform_action: script.waschdn
  waschup_cover:
    card:
      theme: transparentblue
      show_name: false
      show_icon: true
      type: button
      icon: mdi:arrow-up-bold-box
      tap_action:
        action: perform-action
        perform_action: script.waschup
  franzstop_cover:
    card:
      theme: transparentblue
      show_name: false
      show_icon: true
      type: button
      icon: mdi:stop
      tap_action:
        action: perform-action
        perform_action: script.franzstop
  franzdn_cover:
    card:
      theme: transparentblue
      show_name: false
      show_icon: true
      type: button
      icon: mdi:arrow-down-bold-box
      tap_action:
        action: perform-action
        perform_action: script.franzdn
  franzup_cover:
    card:
      theme: transparentblue
      show_name: false
      show_icon: true
      type: button
      icon: mdi:arrow-up-bold-box
      tap_action:
        action: perform-action
        perform_action: script.franzup
  terrstop_cover:
    card:
      theme: transparentblue
      show_name: false
      show_icon: true
      type: button
      icon: mdi:stop
      tap_action:
        action: perform-action
        perform_action: script.terrstop
  terrdn_cover:
    card:
      theme: transparentblue
      show_name: false
      show_icon: true
      type: button
      icon: mdi:arrow-down-bold-box
      tap_action:
        action: perform-action
        perform_action: script.terrdn
  terrup_cover:
    card:
      theme: transparentblue
      show_name: false
      show_icon: true
      type: button
      icon: mdi:arrow-up-bold-box
      tap_action:
        action: perform-action
        perform_action: script.terrup
  wzrstop_cover:
    card:
      theme: transparentblue
      show_name: false
      show_icon: true
      type: button
      icon: mdi:stop
      tap_action:
        action: perform-action
        perform_action: script.wzrechtsstop
  wzrdn_cover:
    card:
      theme: transparentblue
      show_name: false
      show_icon: true
      type: button
      icon: mdi:arrow-down-bold-box
      tap_action:
        action: perform-action
        perform_action: script.wzrechtsdn
  wzrup_cover:
    card:
      theme: transparentblue
      show_name: false
      show_icon: true
      type: button
      icon: mdi:arrow-up-bold-box
      tap_action:
        action: perform-action
        perform_action: script.wzrechtsup
  wzlstop_cover:
    card:
      theme: transparentblue
      show_name: false
      show_icon: true
      type: button
      icon: mdi:stop
      tap_action:
        action: perform-action
        perform_action: script.wzlinksstop
  wzldn_cover:
    card:
      theme: transparentblue
      show_name: false
      show_icon: true
      type: button
      icon: mdi:arrow-down-bold-box
      tap_action:
        action: perform-action
        perform_action: script.wzlinksdn
  wzlup_cover:
    card:
      theme: transparentblue
      show_name: false
      show_icon: true
      type: button
      icon: mdi:arrow-up-bold-box
      tap_action:
        action: perform-action
        perform_action: script.wzlinksup
styles:
  card:
    - padding: 22px
    - align-self: start
    - width: 1920px
    - height: 1080px
    - opacity: 1
    - background-color: green
    - border: thick
  custom_fields:
    waschstop_cover:
      - position: absolute
      - top: 810px
      - left: 110px
      - width: 80px
      - height: 70px
    waschdn_cover:
      - position: absolute
      - top: 810px
      - left: 200px
      - width: 80px
      - height: 70px
    waschup_cover:
      - position: absolute
      - top: 810px
      - left: 20px
      - width: 80px
      - height: 70px
    franzstop_cover:
      - position: absolute
      - top: 630px
      - left: 110px
      - width: 80px
      - height: 70px
    franzdn_cover:
      - position: absolute
      - top: 630px
      - left: 200px
      - width: 80px
      - height: 70px
    franzup_cover:
      - position: absolute
      - top: 630px
      - left: 20px
      - width: 80px
      - height: 70px
    terrstop_cover:
      - position: absolute
      - top: 450px
      - left: 110px
      - width: 80px
      - height: 70px
    terrdn_cover:
      - position: absolute
      - top: 450px
      - left: 200px
      - width: 80px
      - height: 70px
    terrup_cover:
      - position: absolute
      - top: 450px
      - left: 20px
      - width: 80px
      - height: 70px
    wzrstop_cover:
      - position: absolute
      - top: 260px
      - left: 110px
      - width: 80px
      - height: 70px
    wzrdn_cover:
      - position: absolute
      - top: 260px
      - left: 200px
      - width: 80px
      - height: 70px
    wzrup_cover:
      - position: absolute
      - top: 260px
      - left: 20px
      - width: 80px
      - height: 70px
    wzlstop_cover:
      - position: absolute
      - top: 70px
      - left: 110px
      - width: 80px
      - height: 70px
    wzldn_cover:
      - position: absolute
      - top: 70px
      - left: 200px
      - width: 80px
      - height: 70px
    wzlup_cover:
      - position: absolute
      - top: 70px
      - left: 20px
      - width: 80px
      - height: 70px
  name:
    - justify-self: start
    - align-self: start
    - font-size: 24px
    - font-weight: 500
    - color: white

To get buttons like:

Just to use my Cover again…
How is the right way?
Is it Templates?
Please tell me what do i have to learn… just a small hint…