mirror of
https://github.com/home-assistant/core.git
synced 2025-08-14 01:55:18 +02:00
Avoid Sonos error when joining with self (#13196)
This commit is contained in:
committed by
Paulus Schoutsen
parent
e2029e3970
commit
7fc9ac0931
@@ -886,6 +886,7 @@ class SonosDevice(MediaPlayerDevice):
|
||||
self.soco.unjoin()
|
||||
|
||||
for slave in slaves:
|
||||
if slave.unique_id != self.unique_id:
|
||||
slave.soco.join(self.soco)
|
||||
|
||||
@soco_error()
|
||||
|
Reference in New Issue
Block a user