Fix type for ESPHome assist satellite events (#139618)

pull/139623/head
Paulus Schoutsen 2025-03-01 22:59:14 -05:00 committed by GitHub
parent 4a7fd89abd
commit 7293ae5d51
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -285,9 +285,9 @@ class EsphomeAssistSatellite(
assert event.data is not None
data_to_send = {
"conversation_id": event.data["intent_output"]["conversation_id"],
"continue_conversation": event.data["intent_output"][
"continue_conversation"
],
"continue_conversation": str(
int(event.data["intent_output"]["continue_conversation"])
),
}
elif event_type == VoiceAssistantEventType.VOICE_ASSISTANT_TTS_START:
assert event.data is not None

View File

@ -298,7 +298,7 @@ async def test_pipeline_api_audio(
VoiceAssistantEventType.VOICE_ASSISTANT_INTENT_END,
{
"conversation_id": conversation_id,
"continue_conversation": True,
"continue_conversation": "1",
},
)