For some reason i am not able to send the configured wake words to homeassistant.
I am using this piece of code:
active_ww_ids=[ww.id for ww in self.state.wake_words.values() if ww.id in self.state.active_wake_words]
_LOGGER.debug(" -> Active wake word IDs: %s", active_ww_ids)
yield VoiceAssistantConfigurationResponse(
available_wake_words=available_wake_words,
active_wake_words=active_ww_ids,
max_active_wake_words=2,
)
And this is the log for it with some debugging:
linux-voice-assistant | DEBUG:linux_voice_assistant.satellite:✅ Received VoiceAssistantConfigurationRequest from Home Assistant
linux-voice-assistant | DEBUG:linux_voice_assistant.satellite: -> Request contains 0 external wake words
linux-voice-assistant | DEBUG:linux_voice_assistant.satellite: -> Found 8 internal available wake words
linux-voice-assistant | DEBUG:linux_voice_assistant.satellite: - hey_jarvis: 'Hey Jarvis' (langs: ['en'])
linux-voice-assistant | DEBUG:linux_voice_assistant.satellite: - hey_home_assistant: 'Hey Home Assistant' (langs: ['en'])
linux-voice-assistant | DEBUG:linux_voice_assistant.satellite: - hey_mycroft: 'Hey Mycroft' (langs: ['en'])
linux-voice-assistant | DEBUG:linux_voice_assistant.satellite: - choo_choo_homie: 'Choo Choo Homie' (langs: ['en'])
linux-voice-assistant | DEBUG:linux_voice_assistant.satellite: - okay_nabu: 'Okay Nabu' (langs: ['en', 'nl', 'fr', 'de', 'it', 'es', 'sv'])
linux-voice-assistant | DEBUG:linux_voice_assistant.satellite: - alexa: 'Alexa' (langs: ['en'])
linux-voice-assistant | DEBUG:linux_voice_assistant.satellite: - hey_luna: 'hey_luna' (langs: ['en'])
linux-voice-assistant | DEBUG:linux_voice_assistant.satellite: - okay_computer: 'Okay Computer' (langs: ['en'])
linux-voice-assistant | DEBUG:linux_voice_assistant.satellite: -> Active wake word IDs: ['okay_nabu']
linux-voice-assistant | INFO:linux_voice_assistant.satellite:✅ Connected to Home Assistant - Configuration handshake completed
linux-voice-assistant | DEBUG:linux_voice_assistant.satellite:✅ VoiceAssistantConfigurationResponse sent successfully
If i configure another wake word than okay_nabu or for example two wake words i dont get the correct wake word.
linux-voice-assistant | DEBUG:linux_voice_assistant.satellite:✅ Received VoiceAssistantConfigurationRequest from Home Assistant
linux-voice-assistant | DEBUG:linux_voice_assistant.satellite: -> Request contains 0 external wake words
linux-voice-assistant | DEBUG:linux_voice_assistant.satellite: -> Found 8 internal available wake words
linux-voice-assistant | DEBUG:linux_voice_assistant.satellite: - hey_jarvis: 'Hey Jarvis' (langs: ['en'])
linux-voice-assistant | DEBUG:linux_voice_assistant.satellite: - hey_home_assistant: 'Hey Home Assistant' (langs: ['en'])
linux-voice-assistant | DEBUG:linux_voice_assistant.satellite: - hey_mycroft: 'Hey Mycroft' (langs: ['en'])
linux-voice-assistant | DEBUG:linux_voice_assistant.satellite: - choo_choo_homie: 'Choo Choo Homie' (langs: ['en'])
linux-voice-assistant | DEBUG:linux_voice_assistant.satellite: - okay_nabu: 'Okay Nabu' (langs: ['en', 'nl', 'fr', 'de', 'it', 'es', 'sv'])
linux-voice-assistant | DEBUG:linux_voice_assistant.satellite: - alexa: 'Alexa' (langs: ['en'])
linux-voice-assistant | DEBUG:linux_voice_assistant.satellite: - hey_luna: 'hey_luna' (langs: ['en'])
linux-voice-assistant | DEBUG:linux_voice_assistant.satellite: - okay_computer: 'Okay Computer' (langs: ['en'])
linux-voice-assistant | DEBUG:linux_voice_assistant.satellite: -> Active wake word IDs: ['hey_jarvis']
linux-voice-assistant | INFO:linux_voice_assistant.satellite:✅ Connected to Home Assistant - Configuration handshake completed
linux-voice-assistant | DEBUG:linux_voice_assistant.satellite:✅ VoiceAssistantConfigurationResponse sent successfully
linux-voice-assistant | DEBUG:linux_voice_assistant.satellite:✅ Received VoiceAssistantConfigurationRequest from Home Assistant
linux-voice-assistant | DEBUG:linux_voice_assistant.satellite: -> Request contains 0 external wake words
linux-voice-assistant | DEBUG:linux_voice_assistant.satellite: -> Found 8 internal available wake words
linux-voice-assistant | DEBUG:linux_voice_assistant.satellite: - hey_jarvis: 'Hey Jarvis' (langs: ['en'])
linux-voice-assistant | DEBUG:linux_voice_assistant.satellite: - hey_home_assistant: 'Hey Home Assistant' (langs: ['en'])
linux-voice-assistant | DEBUG:linux_voice_assistant.satellite: - hey_mycroft: 'Hey Mycroft' (langs: ['en'])
linux-voice-assistant | DEBUG:linux_voice_assistant.satellite: - choo_choo_homie: 'Choo Choo Homie' (langs: ['en'])
linux-voice-assistant | DEBUG:linux_voice_assistant.satellite: - okay_nabu: 'Okay Nabu' (langs: ['en', 'nl', 'fr', 'de', 'it', 'es', 'sv'])
linux-voice-assistant | DEBUG:linux_voice_assistant.satellite: - alexa: 'Alexa' (langs: ['en'])
linux-voice-assistant | DEBUG:linux_voice_assistant.satellite: - hey_luna: 'hey_luna' (langs: ['en'])
linux-voice-assistant | DEBUG:linux_voice_assistant.satellite: - okay_computer: 'Okay Computer' (langs: ['en'])
linux-voice-assistant | DEBUG:linux_voice_assistant.satellite: -> Active wake word IDs: ['hey_jarvis', 'okay_nabu']
linux-voice-assistant | INFO:linux_voice_assistant.satellite:✅ Connected to Home Assistant - Configuration handshake completed
linux-voice-assistant | DEBUG:linux_voice_assistant.satellite:✅ VoiceAssistantConfigurationResponse sent successfully

For some reason i am not able to send the configured wake words to homeassistant.
I am using this piece of code:
And this is the log for it with some debugging:
If i configure another wake word than okay_nabu or for example two wake words i dont get the correct wake word.