mirror of
https://github.com/home-assistant/core.git
synced 2026-05-19 23:35:20 +02:00
Filter out duplicate voices without language code in Google Cloud (#160046)
This commit is contained in:
@@ -81,6 +81,7 @@ def mock_api_tts() -> AsyncMock:
|
||||
voices=[
|
||||
cloud_tts.Voice(language_codes=["en-US"], name="en-US-Standard-A"),
|
||||
cloud_tts.Voice(language_codes=["en-US"], name="en-US-Standard-B"),
|
||||
cloud_tts.Voice(language_codes=["en-US"], name="Standard-A"),
|
||||
cloud_tts.Voice(language_codes=["el-GR"], name="el-GR-Standard-A"),
|
||||
]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user