mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 16:27:08 +00:00
Avoid Sonos error when joining with self (#13196)
This commit is contained in:
parent
4e569ac0c3
commit
30a1fedce8
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user