Tidy after adding group services to roon media player (#42512)

* Tidy after adding roon group services.

* Fix missed changes.
This commit is contained in:
Greg Dowling 2020-10-28 16:32:23 +00:00 committed by GitHub
parent 21e9e7c5c2
commit 0860ce4099
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 11 deletions

View file

@ -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."""