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
@@ -8,7 +8,7 @@ from aiopylgtv import PyLGTVCmdException, PyLGTVPairException, WebOsClient
|
||||
from websockets.exceptions import ConnectionClosed
|
||||
|
||||
from homeassistant import util
|
||||
from homeassistant.components.media_player import DEVICE_CLASS_TV, MediaPlayerDevice
|
||||
from homeassistant.components.media_player import DEVICE_CLASS_TV, MediaPlayerEntity
|
||||
from homeassistant.components.media_player.const import (
|
||||
MEDIA_TYPE_CHANNEL,
|
||||
SUPPORT_NEXT_TRACK,
|
||||
@@ -109,7 +109,7 @@ def cmd(func):
|
||||
return wrapper
|
||||
|
||||
|
||||
class LgWebOSMediaPlayerEntity(MediaPlayerDevice):
|
||||
class LgWebOSMediaPlayerEntity(MediaPlayerEntity):
|
||||
"""Representation of a LG webOS Smart TV."""
|
||||
|
||||
def __init__(self, client: WebOsClient, name: str, customize, on_script=None):
|
||||
|
||||
Reference in new issue
Block a user