From 7655f1d1ec85a2dd6aa7a92247a575f7b3f209ae Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Sat, 16 Aug 2025 02:43:36 -0700 Subject: [PATCH] Fix stop command on some Home Assistant players (#2336) --- music_assistant/providers/hass_players/player.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/music_assistant/providers/hass_players/player.py b/music_assistant/providers/hass_players/player.py index e613a8bb..ab3ce576 100644 --- a/music_assistant/providers/hass_players/player.py +++ b/music_assistant/providers/hass_players/player.py @@ -186,7 +186,7 @@ class HomeAssistantPlayer(Player): ) except FailedCommand as exc: # some HA players do not support STOP - if "does not support this service" not in str(exc): + if "does not support" not in str(exc): raise if PlayerFeature.PAUSE in self.supported_features: await self.pause() -- 2.34.1