Avoid Sonos error when joining with self (#13196)

pull/13132/merge
Anders Melchiorsen 2018-03-14 20:07:50 +01:00 committed by Paulus Schoutsen
parent e2029e3970
commit 7fc9ac0931
1 changed files with 2 additions and 1 deletions

View File

@ -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):