Try to make a template of type 'cover'

Thanks.
My point is: I have shades and roof windows and when I close the shade by open window I run into a collision. So I have to intercept the commands sombody send via GUI and always bring everything into a save position before executing this command. I do this with a template of type cover in the GUI because I don't have better knowledge.
Using some automation didn't work, because I only can react AFTER the commad was sent. I cant intercept (and delay) the command until everything is save.
So my question: Can I do the same thing using a blueprint (cause I have 7 roof windows with 7 shades). Otherwise its boring work ...
And if so, how can I do it or where can I find good documentation and maybe samples?

Yes you can. You can create one blueprint with some inputs. E.g. and input for the original cover entity and one for a binary sensor indicating the window state.
Using those inputs you can create the setup for the cover template. That will look similar as using the YAML config for the template cover itself, but then using the input settings.

Let me check if I have an example in my config.

Unfortunately, there aren't good documentation for template blueprints at the moment. It was added hastily a few years back and you really just need to know the system well in order to make one. It's something that's on my list but I've been dealing with the deprecation which has taken most of my time.

here's an example which is used to turn a switch entity into a light entity (note: I could have done this using the Switch to X helper, but I wanted to add some effects to the light)
The selectors in the input part are not required. I added that to be ready for GUI support.

The blueprint can then be used like this:

template:
  - use_blueprint:
      path: TheFes/switch_to_light.yaml
      input:
        switch: switch.wereldbol
        icon_on: game-icons:globe
        icon_off: game-icons:globe
        add_effects: true
        default_entity_id: light.wereldbol
    unique_id: 780b45cb-4f49-4879-babb-76483c7cab50

Hmmmm,
ok, I will take a closer look at it and try to deduce a 'cover' instead a light. Thanks so far for helping, will be back ... (haha).