Skip to content

Commit

Permalink
Fixes #794: Add 'Arc SL' to list of soundbars
Browse files Browse the repository at this point in the history
  • Loading branch information
pwt committed Jan 21, 2021
1 parent 0929a36 commit 1cccc4b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions soco/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -2436,8 +2436,8 @@ def get_battery_info(self, timeout=3.0):
r"^x-sonos-vli:.*,airplay:": MUSIC_SRC_AIRPLAY,
}

# soundbar product names
SOUNDBARS = ("playbase", "playbar", "beam", "sonos amp", "arc")
# Soundbar product names
SOUNDBARS = ("playbase", "playbar", "beam", "sonos amp", "arc", "arc sl")


if config.SOCO_CLASS is None:
Expand Down
2 changes: 2 additions & 0 deletions tests/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,8 @@ def test_soco_repr(self, moco):
("Sonos Beam", True),
("Sonos Playbar", True),
("Sonos Playbase", True),
("Sonos Arc", True),
("Sonos Arc SL", True),
),
)
def test_soco_is_soundbar(self, moco, model_name):
Expand Down

0 comments on commit 1cccc4b

Please sign in to comment.