mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 19:56:42 +00:00
Fix tts (#8261)
This commit is contained in:
parent
5ee0250ba5
commit
7de6ea0879
@ -9,4 +9,4 @@ export const convertTextToSpeech = (
|
||||
language?: string;
|
||||
options?: Record<string, unknown>;
|
||||
}
|
||||
) => hass.callApi<{ url: string }>("POST", "tts_get_url", data);
|
||||
) => hass.callApi<{ url: string; path: string }>("POST", "tts_get_url", data);
|
||||
|
@ -164,7 +164,7 @@ export class DialogTryTts extends LitElement {
|
||||
language,
|
||||
options: { gender },
|
||||
});
|
||||
url = result.url;
|
||||
url = result.path;
|
||||
} catch (err) {
|
||||
this._loadingExample = false;
|
||||
showAlertDialog(this, {
|
||||
|
Loading…
x
Reference in New Issue
Block a user