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,6 +896,7 @@ class SonosDevice(MediaPlayerDevice):
self.soco.unjoin() self.soco.unjoin()
for slave in slaves: for slave in slaves:
if slave.unique_id != self.unique_id:
slave.soco.join(self.soco) slave.soco.join(self.soco)
@soco_error() @soco_error()