Still getting the media_player.sonos_xxx syntax in 0.93.2

Now I am a bit confused.
After upgrading to 0.93.2 I still see the media_player.sonos_ syntax, and not the sonos.join etc. as expected in the release notes.
https://www.home-assistant.io/blog/2019/05/16/release-93/.


… at least this is how Visual Studio Conde presents it…

I have removed the integration, re-bootet hassio, and configured the Sonos Integration. Still the same. What am I missing here?

You’re not understanding how visual studio auto populates those lists. It pulls that information from your configuration. So somewhere in your configuration you are still using the old method. Remove all references to the old method and they won’t show up in the list.

OK, so Visual Studio populates from my config.
How come the entities list still show the Sonos entities the old way?

The entity names show up like this after a fresh integration for Sonos…

That’s how they were originally configured. Did you ever update those names in the entity registry? If not, they’ll always stay the same until you rename them there.

I dont believe I ever have change the entity naming for my Sonos…
I´m fine with purging them all, to let the new syntax appear all over my installation.
How will I go about that?

You don’t need to purge anything, just rename it in the entity registry which is located in the UI.

1 Like

Thanks, @petro :smiley:

1 Like

Seems to not be able to change it there…
At least not this way

You can’t change the domain. It will always be media_player.whateveryouwanttonameit

domain.object_id

You can only change the object_id

in your case the domain is media_player

I.E.

media_player.whatever_you_want_to_name_it

OK.
Then I must have missed something in the 0.93 release notes…
Thank you for clarifying this. I cannot make all my Sonos be sonos.xxx as I hoped.

Those are the services only. I don’t have a sonos, but I would assume that the sonos itself is still in the media_player domain while sonos only services are in the sonos domain.

Thank you for your time and feedback on this. I really appreciate it!
:smiley:

1 Like