Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.tts.TextToSpeechUrlView Class Reference
Inheritance diagram for homeassistant.components.tts.TextToSpeechUrlView:
[legend]
Collaboration diagram for homeassistant.components.tts.TextToSpeechUrlView:
[legend]

Public Member Functions

None __init__ (self, SpeechManager tts)
 
web.Response post (self, web.Request request)
 

Public Attributes

 tts
 

Static Public Attributes

string name = "api:tts:geturl"
 
bool requires_auth = True
 
string url = "/api/tts_get_url"
 

Detailed Description

TTS view to get a url to a generated speech file.

Definition at line 1038 of file __init__.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.tts.TextToSpeechUrlView.__init__ (   self,
SpeechManager  tts 
)
Initialize a tts view.

Definition at line 1045 of file __init__.py.

Member Function Documentation

◆ 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.

Member Data Documentation

◆ name

string homeassistant.components.tts.TextToSpeechUrlView.name = "api:tts:geturl"
static

Definition at line 1043 of file __init__.py.

◆ requires_auth

bool homeassistant.components.tts.TextToSpeechUrlView.requires_auth = True
static

Definition at line 1041 of file __init__.py.

◆ tts

homeassistant.components.tts.TextToSpeechUrlView.tts

Definition at line 1047 of file __init__.py.

◆ url

string homeassistant.components.tts.TextToSpeechUrlView.url = "/api/tts_get_url"
static

Definition at line 1042 of file __init__.py.


The documentation for this class was generated from the following file: