This commit is contained in:
Paulus Schoutsen 2021-01-27 23:42:06 +01:00 committed by Bram Kragten
parent ef1dd8b761
commit 8ae1a1b558
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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, {