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