Create two different enties from one config?

Hi all,

First post here so apologies if this seems like a stupid question.

I have a custom cover component that I’d like to add additional functionality to beyond the current cover component. Effectively an extra button to send an MQTT command beyond the standard open/close/goto etc. I figured I could just have my custom component create an additional switch entity for each configuration entry and it’s be fine, but when I do so the switches show up as covers (I assume since the config is under the “cover” component and then my custom platform).

Is there another way to add entites to HA? Like a method I can call when I create my Covers that can add an entity from another component?

something like:

hass.add_entity(MyExtraSwitchClass(config))

??

Thanks in advance for your help.

Cheers,

V