mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +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):
|
class BraviaTVMediaPlayer(BraviaTVEntity, MediaPlayerEntity):
|
||||||
"""Representation of a Bravia TV Media Player."""
|
"""Representation of a Bravia TV Media Player."""
|
||||||
|
|
||||||
|
_attr_name = None
|
||||||
_attr_assumed_state = True
|
_attr_assumed_state = True
|
||||||
_attr_device_class = MediaPlayerDeviceClass.TV
|
_attr_device_class = MediaPlayerDeviceClass.TV
|
||||||
_attr_supported_features = (
|
_attr_supported_features = (
|
||||||
|
@ -30,6 +30,8 @@ async def async_setup_entry(
|
|||||||
class BraviaTVRemote(BraviaTVEntity, RemoteEntity):
|
class BraviaTVRemote(BraviaTVEntity, RemoteEntity):
|
||||||
"""Representation of a Bravia TV Remote."""
|
"""Representation of a Bravia TV Remote."""
|
||||||
|
|
||||||
|
_attr_name = None
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def is_on(self) -> bool:
|
def is_on(self) -> bool:
|
||||||
"""Return true if device is on."""
|
"""Return true if device is on."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user