mirror of
https://github.com/home-assistant/core.git
synced 2025-07-09 22:37:11 +00:00
Fix unknown attribute in MPD (#120657)
This commit is contained in:
parent
f3c76cd698
commit
d423dae8ac
@ -421,11 +421,6 @@ class MpdDevice(MediaPlayerEntity):
|
|||||||
"""Name of the current input source."""
|
"""Name of the current input source."""
|
||||||
return self._current_playlist
|
return self._current_playlist
|
||||||
|
|
||||||
@property
|
|
||||||
def source_list(self):
|
|
||||||
"""Return the list of available input sources."""
|
|
||||||
return self._playlists
|
|
||||||
|
|
||||||
async def async_select_source(self, source: str) -> None:
|
async def async_select_source(self, source: str) -> None:
|
||||||
"""Choose a different available playlist and play it."""
|
"""Choose a different available playlist and play it."""
|
||||||
await self.async_play_media(MediaType.PLAYLIST, source)
|
await self.async_play_media(MediaType.PLAYLIST, source)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user