From 223000a9fbd2a46539054ad93a9dd29333205415 Mon Sep 17 00:00:00 2001 From: Tomasz Date: Wed, 23 Sep 2020 17:57:06 +0200 Subject: [PATCH] Add all supported languages to OpenWeatherMap (#40448) --- .../components/openweathermap/const.py | 52 ++++++++++++++++++- 1 file changed, 51 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/openweathermap/const.py b/homeassistant/components/openweathermap/const.py index d2ea7f34d50..03ed97d4075 100644 --- a/homeassistant/components/openweathermap/const.py +++ b/homeassistant/components/openweathermap/const.py @@ -73,7 +73,57 @@ FORECAST_MONITORED_CONDITIONS = [ ATTR_FORECAST_WIND_BEARING, ATTR_FORECAST_WIND_SPEED, ] -LANGUAGES = ["en", "es", "ru", "it"] +LANGUAGES = [ + "af", + "al", + "ar", + "az", + "bg", + "ca", + "cz", + "da", + "de", + "el", + "en", + "es", + "eu", + "fa", + "fi", + "fr", + "gl", + "he", + "hi", + "hr", + "hu", + "id", + "it", + "ja", + "kr", + "la", + "lt", + "mk", + "nl", + "no", + "pl", + "pt", + "pt_br", + "ro", + "ru", + "se", + "sk", + "sl", + "sp", + "sr", + "sv", + "th", + "tr", + "ua", + "uk", + "vi", + "zh_cn", + "zh_tw", + "zu", +] CONDITION_CLASSES = { "cloudy": [803, 804], "fog": [701, 741],