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
1 changed files with 0 additions and 9 deletions
|
@ -215,15 +215,6 @@ class UniversalMediaPlayer(MediaPlayerDevice):
|
|||
else:
|
||||
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
|
||||
def name(self):
|
||||
""" name of universal player """
|
||||
|
|
Loading…
Add table
Reference in a new issue