Lovelace flooded with new casting / speaker groups

Hi!

It seems to be a problem with my lovelace.
I think it is every time I use one of my google home speaker group it will create a new entry on my lovelace. (I have take control over the lovelace).

This results in that I have multiple speaker groups that are not active anymore.

What can possible be wrong?

This is automatically added to my lovelace-config:

                           "entity": "media_player.huset",
                            "type": "media-control"
                        },
                        {
                            "entity": "media_player.hela_huset",
                            "type": "media-control"
                        },
                        {
                            "entity": "media_player.hela_huset_2",
                            "type": "media-control"
                        },
                        {
                            "entity": "media_player.hela_huset_3",
                            "type": "media-control"
                        },
                        {
                            "entity": "media_player.hela_huset_4",
                            "type": "media-control"
                        },
                        {
                            "entity": "media_player.huset_2",
                            "type": "media-control"
                        },
                        {
                            "entity": "media_player.hela_huset_5",
                            "type": "media-control"
                        },
                        {
                            "entity": "media_player.hela_huset_6",
                            "type": "media-control"
                        },
                        {
                            "entity": "media_player.hela_huset_7",
                            "type": "media-control"
                        },
                        {
                            "entity": "media_player.hela_huset_8",
                            "type": "media-control"
                        },
                        {
                            "entity": "media_player.huset_3",
                            "type": "media-control"
                        },
                        {
                            "entity": "media_player.huset_4",
                            "type": "media-control"
                        },
                        {
                            "entity": "media_player.hela_huset_9",
                            "type": "media-control"
                        },
                        {
                            "entity": "media_player.hela_huset_10",
                            "type": "media-control"
                        },
                        {
                            "entity": "media_player.hela_huset_11",
                            "type": "media-control"
                        },
                        {
                            "entity": "media_player.hela_huset_12",
                            "type": "media-control"
                        },

This is what my Google Cast integration looks like:

Lovelace just adds what exists in your configuration. This is most likely a result of google cast integration or discovery. I’d wager that on restart a new entity_id via the google cast integration is created and added to lovelace.

Problem solved. Removed the cast integration and then added it again.