Tidy after adding group services to roon media player (#42512)
* Tidy after adding roon group services. * Fix missed changes.
This commit is contained in:
parent
21e9e7c5c2
commit
0860ce4099
2 changed files with 11 additions and 11 deletions
|
@ -76,7 +76,7 @@ class RoonServer:
|
|||
|
||||
def roon_name(self, entity_id):
|
||||
"""Get the name of the roon player from entity_id."""
|
||||
return self._roon_name_by_id[entity_id]
|
||||
return self._roon_name_by_id.get(entity_id)
|
||||
|
||||
def stop_roon(self):
|
||||
"""Stop background worker."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue