mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 13:45:12 +02:00
[Pioneer AVR] Display the currently select input source as the media title (#1974)
This commit is contained in:
committed by
Paulus Schoutsen
parent
393bd88091
commit
4a28be9a94
@@ -164,6 +164,11 @@ class PioneerDevice(MediaPlayerDevice):
|
||||
"""List of available input sources."""
|
||||
return list(self._source_name_to_number.keys())
|
||||
|
||||
@property
|
||||
def media_title(self):
|
||||
"""Title of current playing media."""
|
||||
return self._selected_source
|
||||
|
||||
def turn_off(self):
|
||||
"""Turn off media player."""
|
||||
self.telnet_command("PF")
|
||||
|
Reference in New Issue
Block a user