Skip to content

Commit 88b0927

Browse files
committed
Making sure we don't select a bridge as first
1 parent e2badff commit 88b0927

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/common/services/SonosService.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,9 @@ const SonosService = {
8989
groups.reduce(
9090
(p, z) => [
9191
...p,
92-
...z.ZoneGroupMember.map(async (m) => {
92+
...z.ZoneGroupMember.filter(
93+
(m) => get(m, 'IsZoneBridge') !== '1'
94+
).map(async (m) => {
9395
const uri = new URL(m.Location);
9496
const host = uri.hostname;
9597
const device = new SonosEnhanced(host);

0 commit comments

Comments
 (0)