Custom Cover in Lovelace for Loxone Binding

Hey Everybody,

I am working on a Loxone Binding. It works pretty good for me.
I reasently switched to lovelace which is really great.

My question is how can I simply subclass to normal cover? I need some
extra info for example the exact position of the cover. My idea was that I copy all of the cover code and only add the information which I already packed into my custom cover component.

Maybe threre is an example out there where I can study some code.

Thanks for your help!

Jojo

PS if somebody is interested in the Loxone Binding here is the code: