Include matching languages in WS tts/engine/list (#91732)

* Include matching languages in WS tts/engine/list

* Allow specifying country
This commit is contained in:
Erik Montnemery 2023-04-20 14:56:50 +02:00 committed by GitHub
parent 6d619579b4
commit 79de27a4a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 38 additions and 8 deletions

View file

@ -16,7 +16,7 @@ from homeassistant.helpers.typing import ConfigType, DiscoveryInfoType
from tests.common import MockPlatform
SUPPORT_LANGUAGES = ["de_DE", "en_GB", "en_US"]
SUPPORT_LANGUAGES = ["de_CH", "de_DE", "en_GB", "en_US"]
TEST_LANGUAGES = ["de", "en"]
DEFAULT_LANG = "en_US"