Pass device ID to conversation input (#93867)

This commit is contained in:
Paulus Schoutsen 2023-05-31 16:56:12 -04:00 committed by GitHub
parent a1e9cf1c24
commit cd330a2740
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 31 additions and 10 deletions

View file

@ -293,6 +293,7 @@ class VoiceAssistantUDPServer(asyncio.DatagramProtocol):
async def run_pipeline(
self,
device_id: str,
conversation_id: str | None,
use_vad: bool = False,
pipeline_timeout: float = 30.0,
@ -331,6 +332,7 @@ class VoiceAssistantUDPServer(asyncio.DatagramProtocol):
self.hass, DOMAIN, self.device_info.mac_address
),
conversation_id=conversation_id,
device_id=device_id,
tts_audio_output=tts_audio_output,
)