diff --git a/homeassistant/components/sonos/media_player.py b/homeassistant/components/sonos/media_player.py index 7e6c210a1646b..526ddd2bcc748 100644 --- a/homeassistant/components/sonos/media_player.py +++ b/homeassistant/components/sonos/media_player.py @@ -190,6 +190,7 @@ async def async_service_handle(service_call: ServiceCall) -> None: class SonosMediaPlayerEntity(SonosEntity, MediaPlayerEntity): """Representation of a Sonos entity.""" + _attr_name = None _attr_supported_features = ( MediaPlayerEntityFeature.BROWSE_MEDIA | MediaPlayerEntityFeature.CLEAR_PLAYLIST diff --git a/homeassistant/components/wled/light.py b/homeassistant/components/wled/light.py index 2c68401376575..1eb8074bbc154 100644 --- a/homeassistant/components/wled/light.py +++ b/homeassistant/components/wled/light.py @@ -118,7 +118,9 @@ def __init__( # Segment 0 uses a simpler name, which is more natural for when using # a single segment / using WLED with one big LED strip. - if segment != 0: + if segment == 0: + self._attr_name = None + else: self._attr_name = f"Segment {segment}" self._attr_unique_id = ( diff --git a/homeassistant/components/xiaomi_miio/vacuum.py b/homeassistant/components/xiaomi_miio/vacuum.py index 10fd1f2406bfe..34a7b94964687 100644 --- a/homeassistant/components/xiaomi_miio/vacuum.py +++ b/homeassistant/components/xiaomi_miio/vacuum.py @@ -187,6 +187,7 @@ class MiroboVacuum( ): """Representation of a Xiaomi Vacuum cleaner robot.""" + _attr_name = None _attr_supported_features = ( VacuumEntityFeature.STATE | VacuumEntityFeature.PAUSE