mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-09 10:26:30 +00:00
Update tts entity documentation (#1784)
This commit is contained in:
parent
ba1ccabf53
commit
98cd588e07
@ -44,12 +44,12 @@ class MyTextToSpeechEntity(TextToSpeechEntity):
|
|||||||
"""Represent a Text To Speech entity."""
|
"""Represent a Text To Speech entity."""
|
||||||
|
|
||||||
def get_tts_audio(
|
def get_tts_audio(
|
||||||
self, message: str, language: str, options: dict[str, Any] | None = None
|
self, message: str, language: str, options: dict[str, Any]
|
||||||
) -> TtsAudioType:
|
) -> TtsAudioType:
|
||||||
"""Load tts audio file from the engine."""
|
"""Load tts audio file from the engine."""
|
||||||
|
|
||||||
async def async_get_tts_audio(
|
async def async_get_tts_audio(
|
||||||
self, message: str, language: str, options: dict[str, Any] | None = None
|
self, message: str, language: str, options: dict[str, Any]
|
||||||
) -> TtsAudioType:
|
) -> TtsAudioType:
|
||||||
"""Load tts audio file from the engine."""
|
"""Load tts audio file from the engine."""
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user