Skip to content

Commit

Permalink
Update media_player.py
Browse files Browse the repository at this point in the history
  • Loading branch information
aunefyren committed Jan 30, 2024
1 parent a5c8dfa commit ac55b89
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions custom_components/bluesound_alt/media_player.py
Original file line number Diff line number Diff line change
Expand Up @@ -916,12 +916,12 @@ async def rebuild_bluesound_group(self):
master_port = master['@port']
master_device = None

_LOGGER.debug("Master ID: %s", master_id)
_LOGGER.debug("Master PORT: %s", master_port)
_LOGGER.debug("Master ID: %s", master_id)
_LOGGER.debug("Master PORT: %s", master_port)

for device in self._hass.data[DATA_BLUESOUND]:
if str(device._id) == master_id + ":" + master_port:
master_device = device
for device in self._hass.data[DATA_BLUESOUND]:
if str(device._id) == master_id + ":" + master_port:
master_device = device

if master_device != None:
# Add device itself to the start of array
Expand Down

0 comments on commit ac55b89

Please sign in to comment.