mirror of
https://github.com/home-assistant/core.git
synced 2025-07-14 00:37:13 +00:00
Avoid Sonos error when joining with self (#13196)
This commit is contained in:
parent
e2029e3970
commit
7fc9ac0931
@ -886,6 +886,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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user