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 @@ from requests.exceptions import (
|
||||
)
|
||||
from roku import RokuException
|
||||
|
||||
from homeassistant.components.media_player import MediaPlayerDevice
|
||||
from homeassistant.components.media_player import MediaPlayerEntity
|
||||
from homeassistant.components.media_player.const import (
|
||||
MEDIA_TYPE_CHANNEL,
|
||||
SUPPORT_NEXT_TRACK,
|
||||
@@ -45,7 +45,7 @@ async def async_setup_entry(hass, entry, async_add_entities):
|
||||
async_add_entities([RokuDevice(roku)], True)
|
||||
|
||||
|
||||
class RokuDevice(MediaPlayerDevice):
|
||||
class RokuDevice(MediaPlayerEntity):
|
||||
"""Representation of a Roku device on the network."""
|
||||
|
||||
def __init__(self, roku):
|
||||
|
||||
Reference in new issue
Block a user