Add more info card for media player
This commit is contained in:
parent
197611fe8e
commit
678be46bb9
6 changed files with 179 additions and 3 deletions
|
@ -170,6 +170,7 @@ class CastDevice(MediaPlayerDevice):
|
|||
def new_cast_status(self, status):
|
||||
""" Called when a new cast status is received. """
|
||||
self.cast_status = status
|
||||
self.media_status = None
|
||||
self.update_ha_state()
|
||||
|
||||
def new_media_status(self, status):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue