This commit is contained in:
Paulus Schoutsen 2021-01-27 23:42:06 +01:00 committed by GitHub
parent 5ee0250ba5
commit 7de6ea0879
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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, {