diff --git a/linux_voice_assistant/satellite.py b/linux_voice_assistant/satellite.py index cf068fd..92cdec6 100644 --- a/linux_voice_assistant/satellite.py +++ b/linux_voice_assistant/satellite.py @@ -68,7 +68,8 @@ class VoiceSatelliteProtocol(APIServer): ] if existing_thinking_sound_switches: self.state.thinking_sound_entity = existing_thinking_sound_switches[0] - self.state.entities.remove(extra) + for extra in existing_thinking_sound_switches[1:]: + self.state.entities.remove(extra) # Add/update thinking sound entity thinking_sound_switch = self.state.thinking_sound_entity