Rename MediaPlayerDevice to MediaPlayerEntity (#34592)

This commit is contained in:
Erik Montnemery authored and GitHub committed 2020-04-25 18:00:57 +02:00
1 parent 56f7c3b55c
commit 62bc02fdda
75 files changed
+178 -156

No files matched your search

@@ -1,5 +1,5 @@
"""Demo implementation of the media player."""
from homeassistant.components.media_player import MediaPlayerDevice
from homeassistant.components.media_player import MediaPlayerEntity
from homeassistant.components.media_player.const import (
MEDIA_TYPE_MOVIE,
MEDIA_TYPE_MUSIC,
@@ -93,7 +93,7 @@ NETFLIX_PLAYER_SUPPORT = (
)
class AbstractDemoPlayer(MediaPlayerDevice):
class AbstractDemoPlayer(MediaPlayerEntity):
"""A demo media players."""
# We only implement the methods that we support