TTS view to get a url to a generated speech file.
Definition at line 1038 of file __init__.py.
◆ __init__()
| None homeassistant.components.tts.TextToSpeechUrlView.__init__ |
( |
|
self, |
|
|
SpeechManager |
tts |
|
) |
| |
◆ post()
| web.Response homeassistant.components.tts.TextToSpeechUrlView.post |
( |
|
self, |
|
|
web.Request |
request |
|
) |
| |
Generate speech and provide url.
Definition at line 1049 of file __init__.py.
◆ name
| string homeassistant.components.tts.TextToSpeechUrlView.name = "api:tts:geturl" |
|
static |
◆ requires_auth
| bool homeassistant.components.tts.TextToSpeechUrlView.requires_auth = True |
|
static |
◆ tts
| homeassistant.components.tts.TextToSpeechUrlView.tts |
◆ url
| string homeassistant.components.tts.TextToSpeechUrlView.url = "/api/tts_get_url" |
|
static |
The documentation for this class was generated from the following file: