mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Removed unused private method from universal media player
The universal media player contained a private method that was replaced by the update method. It was meant to be removed and wasn’t. This commit removed that method.
This commit is contained in:
parent
c1d057407b
commit
6a75b524cb
@ -215,15 +215,6 @@ class UniversalMediaPlayer(MediaPlayerDevice):
|
|||||||
else:
|
else:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def _cache_active_child_state(self):
|
|
||||||
""" The state of the active child or None """
|
|
||||||
for child_name in self._children:
|
|
||||||
child_state = self.hass.states.get(child_name)
|
|
||||||
if child_state and child_state.state not in OFF_STATES:
|
|
||||||
self._child_state = child_state
|
|
||||||
return
|
|
||||||
self._child_state = None
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def name(self):
|
def name(self):
|
||||||
""" name of universal player """
|
""" name of universal player """
|
||||||
|
Loading…
x
Reference in New Issue
Block a user