Avoid Sonos error when joining with self (#13196)
parent
e2029e3970
commit
7fc9ac0931
|
@ -886,7 +886,8 @@ class SonosDevice(MediaPlayerDevice):
|
|||
self.soco.unjoin()
|
||||
|
||||
for slave in slaves:
|
||||
slave.soco.join(self.soco)
|
||||
if slave.unique_id != self.unique_id:
|
||||
slave.soco.join(self.soco)
|
||||
|
||||
@soco_error()
|
||||
def unjoin(self):
|
||||
|
|
Loading…
Reference in New Issue