mirror of
https://github.com/home-assistant/core.git
synced 2025-07-28 07:37:34 +00:00
Merge pull request #339 from persandstrom/squeezebox_player_id
Squeezebox: use id instead of name when updating players
This commit is contained in:
commit
4cd01f5516
@ -195,7 +195,7 @@ class SqueezeBoxDevice(MediaPlayerDevice):
|
||||
|
||||
def update(self):
|
||||
""" Retrieve latest state. """
|
||||
self._status = self._lms.get_player_status(self._name)
|
||||
self._status = self._lms.get_player_status(self._id)
|
||||
|
||||
@property
|
||||
def volume_level(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user