Rename MediaPlayerDevice to MediaPlayerEntity (#34592)
This commit is contained in:
1 parent
56f7c3b55c
commit
62bc02fdda
75 files changed
+178
-156
No files matched your search
@@ -7,7 +7,7 @@ import voluptuous as vol
|
||||
from homeassistant.components.media_player import (
|
||||
DEVICE_CLASS_TV,
|
||||
PLATFORM_SCHEMA,
|
||||
MediaPlayerDevice,
|
||||
MediaPlayerEntity,
|
||||
)
|
||||
from homeassistant.components.media_player.const import (
|
||||
SUPPORT_NEXT_TRACK,
|
||||
@@ -116,7 +116,7 @@ async def async_setup_entry(hass, config_entry, async_add_entities):
|
||||
)
|
||||
|
||||
|
||||
class BraviaTVDevice(MediaPlayerDevice):
|
||||
class BraviaTVDevice(MediaPlayerEntity):
|
||||
"""Representation of a Bravia TV."""
|
||||
|
||||
def __init__(self, client, name, pin, unique_id, device_info, ignored_sources):
|
||||
|
||||
Reference in new issue
Block a user