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
@@ -6,7 +6,7 @@ from typing import Sequence
|
||||
|
||||
from pyheos import HeosError, const as heos_const
|
||||
|
||||
from homeassistant.components.media_player import MediaPlayerDevice
|
||||
from homeassistant.components.media_player import MediaPlayerEntity
|
||||
from homeassistant.components.media_player.const import (
|
||||
ATTR_MEDIA_ENQUEUE,
|
||||
DOMAIN,
|
||||
@@ -85,7 +85,7 @@ def log_command_error(command: str):
|
||||
return decorator
|
||||
|
||||
|
||||
class HeosMediaPlayer(MediaPlayerDevice):
|
||||
class HeosMediaPlayer(MediaPlayerEntity):
|
||||
"""The HEOS player."""
|
||||
|
||||
def __init__(self, player):
|
||||
|
||||
Reference in new issue
Block a user