hass-core/homeassistant/components/google_assistant_sdk/const.py
tronikos d6158c0fcc
Google Assistant SDK: Support non en-US language code (#84028)
* Support non en-US language code

* Get default language_code based on HA config

* Revert bumping gassist-text
Will be done in a separate PR
2022-12-17 14:40:24 -08:00

24 lines
475 B
Python

"""Constants for Google Assistant SDK integration."""
from typing import Final
DOMAIN: Final = "google_assistant_sdk"
DEFAULT_NAME: Final = "Google Assistant SDK"
CONF_LANGUAGE_CODE: Final = "language_code"
# https://developers.google.com/assistant/sdk/reference/rpc/languages
SUPPORTED_LANGUAGE_CODES: Final = [
"de-DE",
"en-AU",
"en-CA",
"en-GB",
"en-IN",
"en-US",
"es-ES",
"es-MX",
"fr-CA",
"fr-FR",
"it-IT",
"pt-BR",
]