Skip to content

Commit a29d5fb

Browse files
authored
tts_output is optional in run-start (home-assistant#147092)
1 parent bcb87cf commit a29d5fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

homeassistant/components/esphome/assist_satellite.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ def on_pipeline_event(self, event: PipelineEvent) -> None:
332332
}
333333
elif event_type == VoiceAssistantEventType.VOICE_ASSISTANT_RUN_START:
334334
assert event.data is not None
335-
if tts_output := event.data["tts_output"]:
335+
if tts_output := event.data.get("tts_output"):
336336
path = tts_output["url"]
337337
url = async_process_play_media_url(self.hass, path)
338338
data_to_send = {"url": url}

0 commit comments

Comments
 (0)