mirror of
https://github.com/home-assistant/core.git
synced 2025-08-16 02:51:40 +02:00
Set universal media player to force refresh when updating HA
This commit is contained in:
committed by
Paulus Schoutsen
parent
270a998e3c
commit
a1abab8ced
@@ -429,4 +429,4 @@ class UniversalMediaPlayer(MediaPlayerDevice):
|
|||||||
def update_state(self, *_):
|
def update_state(self, *_):
|
||||||
""" event to trigger a state update in HA """
|
""" event to trigger a state update in HA """
|
||||||
self._cache_active_child_state()
|
self._cache_active_child_state()
|
||||||
self.update_ha_state()
|
self.update_ha_state(True)
|
||||||
|
Reference in New Issue
Block a user