Fix entity name for iBeacon and Roku (#95574)
* Fix entity nmae for iBeacon and Roku * Roku remote too
This commit is contained in:
parent
7252c33df8
commit
decb1a3118
3 changed files with 5 additions and 0 deletions
|
@ -48,6 +48,8 @@ async def async_setup_entry(
|
|||
class IBeaconTrackerEntity(IBeaconEntity, BaseTrackerEntity):
|
||||
"""An iBeacon Tracker entity."""
|
||||
|
||||
_attr_name = None
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
coordinator: IBeaconCoordinator,
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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."""
|
||||
|
|
Loading…
Add table
Reference in a new issue