mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 17:27:52 +00:00
Return None
as BraviaTV media_player/remote entity name (#94804)
This commit is contained in:
parent
546139e491
commit
c7e460ccab
@ -40,6 +40,7 @@ async def async_setup_entry(
|
||||
class BraviaTVMediaPlayer(BraviaTVEntity, MediaPlayerEntity):
|
||||
"""Representation of a Bravia TV Media Player."""
|
||||
|
||||
_attr_name = None
|
||||
_attr_assumed_state = True
|
||||
_attr_device_class = MediaPlayerDeviceClass.TV
|
||||
_attr_supported_features = (
|
||||
|
@ -30,6 +30,8 @@ async def async_setup_entry(
|
||||
class BraviaTVRemote(BraviaTVEntity, RemoteEntity):
|
||||
"""Representation of a Bravia TV Remote."""
|
||||
|
||||
_attr_name = None
|
||||
|
||||
@property
|
||||
def is_on(self) -> bool:
|
||||
"""Return true if device is on."""
|
||||
|
Loading…
x
Reference in New Issue
Block a user