Avoid Sonos error when joining with self (#13196)

This commit is contained in:
Anders Melchiorsen 2018-03-14 20:07:50 +01:00 committed by Paulus Schoutsen
parent 4e569ac0c3
commit 30a1fedce8

View File

@ -896,7 +896,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):