I’m using discovery component to detect 2 chromecast audio in a group. Home-assistant identifies 3 chromecast media instances. The 2 CC’s puls the group. The name of the individual CC’s is correct, but the group appears with the same name as one of the individual CC’s.
This also gives some problem if you want to send a stream to the group since there is no different entity_id to do so.
Yeah… Looking at a tcpdump of the mdns traffic, it looks one of the CC’s owns the group and perhaps listens on a different port.
I guess it then gets discovered twice with the same name and whichever is found second is _2.
Definitely looks like a bug anyway. The groups are visible in mdns as “md=Google Cast Group” and the name like “fn=All Speakers” hopefully discovery can be adapted to identify them.