mirror of
https://github.com/home-assistant/core.git
synced 2025-09-02 11:21:43 +02:00
Added app name display to Chromecast component.
This commit is contained in:
@@ -153,7 +153,8 @@ class CastDevice(MediaPlayerDevice):
|
||||
@property
|
||||
def media_title(self):
|
||||
""" Title of current playing media. """
|
||||
return self.media_status.title if self.media_status else None
|
||||
title = self.media_status.title if self.media_status else None
|
||||
return title if title else self.cast.app_display_name
|
||||
|
||||
@property
|
||||
def media_artist(self):
|
||||
|
Reference in New Issue
Block a user