ESPHome: Pass through wake_word_phrase from on-device microWakeWord (#111585)
* ESPHome: Pass through wake_word_phrase from on-device microWakeWord * Bump aioesphomeapi to 23.0.0
This commit is contained in:
parent
80ad4f1232
commit
e1dade69e1
5 changed files with 7 additions and 3 deletions
|
@ -237,6 +237,7 @@ class VoiceAssistantUDPServer(asyncio.DatagramProtocol):
|
|||
conversation_id: str | None,
|
||||
flags: int = 0,
|
||||
audio_settings: VoiceAssistantAudioSettings | None = None,
|
||||
wake_word_phrase: str | None = None,
|
||||
) -> None:
|
||||
"""Run the Voice Assistant pipeline."""
|
||||
if audio_settings is None or audio_settings.volume_multiplier == 0:
|
||||
|
@ -273,6 +274,7 @@ class VoiceAssistantUDPServer(asyncio.DatagramProtocol):
|
|||
tts_audio_output=tts_audio_output,
|
||||
start_stage=start_stage,
|
||||
wake_word_settings=WakeWordSettings(timeout=5),
|
||||
wake_word_phrase=wake_word_phrase,
|
||||
audio_settings=AudioSettings(
|
||||
noise_suppression_level=audio_settings.noise_suppression_level,
|
||||
auto_gain_dbfs=audio_settings.auto_gain,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue