mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 07:07:28 +00:00
Support AM/FM channel name in Russound RIO (#148421)
This commit is contained in:
parent
15544769b6
commit
a4b9efa1b1
@ -132,7 +132,7 @@ class RussoundZoneDevice(RussoundBaseEntity, MediaPlayerEntity):
|
|||||||
@property
|
@property
|
||||||
def media_title(self) -> str | None:
|
def media_title(self) -> str | None:
|
||||||
"""Title of current playing media."""
|
"""Title of current playing media."""
|
||||||
return self._source.song_name
|
return self._source.song_name or self._source.channel
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def media_artist(self) -> str | None:
|
def media_artist(self) -> str | None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user