mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
tts_output is optional in run-start (#147092)
This commit is contained in:
parent
bcb87cf812
commit
a29d5fb56c
@ -332,7 +332,7 @@ class EsphomeAssistSatellite(
|
||||
}
|
||||
elif event_type == VoiceAssistantEventType.VOICE_ASSISTANT_RUN_START:
|
||||
assert event.data is not None
|
||||
if tts_output := event.data["tts_output"]:
|
||||
if tts_output := event.data.get("tts_output"):
|
||||
path = tts_output["url"]
|
||||
url = async_process_play_media_url(self.hass, path)
|
||||
data_to_send = {"url": url}
|
||||
|
Loading…
x
Reference in New Issue
Block a user