mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-08 01:46:29 +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."""
|
||||
|
||||
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:
|
||||
"""Load tts audio file from the engine."""
|
||||
|
||||
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:
|
||||
"""Load tts audio file from the engine."""
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user