Entities Toggle Card (master switch)

Hi everyone,

I wanted a card with a header and a switch that would control a list of entities without showing them (basically the top part of the Entities card) . I couldn’t find anything like this, so I made one.

It simply takes a title and list of entities. With an option of showing as a plain header or as a card.

I am currently using it with Auto-Entities, and it is working quite well.
I have very limited knowledge of programming in TS/JS, so please share any bugs you face.

The project and js file is on Github