From 302ceb40fedb8bd1d10376a268273cbca74e458c Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Thu, 29 Jun 2023 13:17:34 -0400 Subject: [PATCH 1/2] Fix entity nmae for iBeacon and Roku --- homeassistant/components/ibeacon/device_tracker.py | 2 ++ homeassistant/components/roku/media_player.py | 1 + 2 files changed, 3 insertions(+) diff --git a/homeassistant/components/ibeacon/device_tracker.py b/homeassistant/components/ibeacon/device_tracker.py index 4c9337e54ce57b..8e194ac27b110c 100644 --- a/homeassistant/components/ibeacon/device_tracker.py +++ b/homeassistant/components/ibeacon/device_tracker.py @@ -48,6 +48,8 @@ def _async_device_new( class IBeaconTrackerEntity(IBeaconEntity, BaseTrackerEntity): """An iBeacon Tracker entity.""" + _attr_name = None + def __init__( self, coordinator: IBeaconCoordinator, diff --git a/homeassistant/components/roku/media_player.py b/homeassistant/components/roku/media_player.py index 877e58233d5b00..a8c1cf4698c447 100644 --- a/homeassistant/components/roku/media_player.py +++ b/homeassistant/components/roku/media_player.py @@ -108,6 +108,7 @@ async def async_setup_entry( class RokuMediaPlayer(RokuEntity, MediaPlayerEntity): """Representation of a Roku media player on the network.""" + _attr_name = None _attr_supported_features = ( MediaPlayerEntityFeature.PREVIOUS_TRACK | MediaPlayerEntityFeature.NEXT_TRACK From 2cc1f740f01bdfc7b81a3d08ba7275679c1e0f30 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Thu, 29 Jun 2023 13:19:10 -0400 Subject: [PATCH 2/2] Roku remote too --- homeassistant/components/roku/remote.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/homeassistant/components/roku/remote.py b/homeassistant/components/roku/remote.py index fceac67a477696..0271e4a0f730f0 100644 --- a/homeassistant/components/roku/remote.py +++ b/homeassistant/components/roku/remote.py @@ -37,6 +37,8 @@ async def async_setup_entry( class RokuRemote(RokuEntity, RemoteEntity): """Device that sends commands to an Roku.""" + _attr_name = None + @property def is_on(self) -> bool: """Return true if device is on."""