Avoid Sonos error when joining with self (#13196)

This commit is contained in:
Anders Melchiorsen authored and Paulus Schoutsen committed 2018-03-14 12:07:50 -07:00
1 parent e2029e3970
commit 7fc9ac0931
1 file changed
+2 -1
@@ -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):