From 1cccc4bf03fcefe9ac76d02291a9a529123385bf Mon Sep 17 00:00:00 2001 From: pwt <1089749+pwt@users.noreply.github.com> Date: Thu, 21 Jan 2021 20:30:44 +0000 Subject: [PATCH] Fixes #794: Add 'Arc SL' to list of soundbars --- soco/core.py | 4 ++-- tests/test_core.py | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/soco/core.py b/soco/core.py index 4ac377dfe..95910c444 100755 --- a/soco/core.py +++ b/soco/core.py @@ -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: diff --git a/tests/test_core.py b/tests/test_core.py index 6e213e086..8fa1589b9 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -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):