mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Add async_get_supported_voices to tts.Provider (#91649)
* Add async_get_supported_voices to tts.Provider * Update WS API
This commit is contained in:
@@ -78,6 +78,7 @@ async def test_provider_properties(cloud_with_prefs) -> None:
|
||||
)
|
||||
assert provider.supported_options == ["gender", "voice", "audio_output"]
|
||||
assert "nl-NL" in provider.supported_languages
|
||||
assert "ColetteNeural" in provider.async_get_supported_voices("nl-NL")
|
||||
|
||||
|
||||
async def test_get_tts_audio(cloud_with_prefs) -> None:
|
||||
|
||||
Reference in New Issue
Block a user