I have an issue with my home assistant configuration.
I decided to disable discovery in my configuration.xml file. Mainly in order to be in control of what appears and what is used. So far so good, everythink works well, except for my chromecast.
I had problems detecting my CC group and a CC that HA decided to give it another name. The only thing that solved my issues was let HA to discovery them. It may work for you. Before, I declared them in configuration, as you did.
What I just tried was to remove my cast declaration in the configuration.yaml, and all the existing entities.
After a restart, I used the integration gui to add the casts. And now it works.
I presume if i set the cast in the configuration file, it will try to set them on startup. And as the cast is not available, it can not get its name, and the entity_id is wrong.
But if I use the integration, the entity_id is already there, and it just flag its state as false.
I am having the same issue with Chromecasts. It looks like defining cast in the config file breaks chromecast discovery. For more information check out this issue I opened:
Since googling my problem led me here I just want to confirm that a fix for now is to use discovery and not define the Chromecast’s in the config file. Users that have their chromecast on another subnet will not be able to use this fix though and will have to wait for this bug to be fixed.