Fix announcement for Sonos Play:1's (#3009)
authorMarvin Schenkel <marvinschenkel@gmail.com>
Thu, 22 Jan 2026 19:25:58 +0000 (20:25 +0100)
committerGitHub <noreply@github.com>
Thu, 22 Jan 2026 19:25:58 +0000 (20:25 +0100)
music_assistant/providers/sonos/const.py
music_assistant/providers/sonos/player.py

index 9b4c8a9fafa204c1efe042e372fe0fa6f7dd96af..bd86aee3a0bfde1fb6c1c8ac1cf5a6c56fa47a96 100644 (file)
@@ -75,3 +75,5 @@ PLAYER_SOURCE_MAP = {
         can_seek=True,
     ),
 }
+
+UNSUPPORTED_MODELS_NATIVE_ANNOUNCEMENTS = ("Play:1",)
index 26115367eb376ab6a8edbe31afda70327bd8f628..02db85f8b9ea4533053fb16edd522d4f68268174 100644 (file)
@@ -49,6 +49,7 @@ from music_assistant.providers.sonos.const import (
     SOURCE_RADIO,
     SOURCE_SPOTIFY,
     SOURCE_TV,
+    UNSUPPORTED_MODELS_NATIVE_ANNOUNCEMENTS,
 )
 
 if TYPE_CHECKING:
@@ -137,7 +138,11 @@ class SonosPlayer(Player):
 
         # collect supported features
         _supported_features = SUPPORTED_FEATURES.copy()
-        if SonosCapability.AUDIO_CLIP in self.discovery_info["device"]["capabilities"]:
+        if (
+            SonosCapability.AUDIO_CLIP in self.discovery_info["device"]["capabilities"]
+            and self.discovery_info["device"]["modelDisplayName"]
+            not in UNSUPPORTED_MODELS_NATIVE_ANNOUNCEMENTS
+        ):
             _supported_features.add(PlayerFeature.PLAY_ANNOUNCEMENT)
         if not self.client.player.has_fixed_volume:
             _supported_features.add(PlayerFeature.VOLUME_SET)