mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Fix type for ESPHome assist satellite events (#139618)
This commit is contained in:
parent
4a7fd89abd
commit
7293ae5d51
@ -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
|
||||
|
@ -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",
|
||||
},
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user