Support AM/FM channel name in Russound RIO (#148421)

This commit is contained in:
Noah Husby 2025-07-09 16:23:04 -05:00 committed by GitHub
parent 15544769b6
commit a4b9efa1b1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -132,7 +132,7 @@ class RussoundZoneDevice(RussoundBaseEntity, MediaPlayerEntity):
@property
def media_title(self) -> str | None:
"""Title of current playing media."""
return self._source.song_name
return self._source.song_name or self._source.channel
@property
def media_artist(self) -> str | None: