Reorder openweathermap modes according to recommendation in documentation (#125395)

Reorder modes and default to new API version 3
This commit is contained in:
Nerdix 2024-09-08 12:03:14 +02:00 committed by GitHub
parent cee695da28
commit f5b754a382
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -63,12 +63,12 @@ OWM_MODE_FREE_FORECAST = "forecast"
OWM_MODE_V30 = "v3.0" OWM_MODE_V30 = "v3.0"
OWM_MODE_V25 = "v2.5" OWM_MODE_V25 = "v2.5"
OWM_MODES = [ OWM_MODES = [
OWM_MODE_FREE_CURRENT,
OWM_MODE_FREE_FORECAST,
OWM_MODE_V30, OWM_MODE_V30,
OWM_MODE_V25, OWM_MODE_V25,
OWM_MODE_FREE_CURRENT,
OWM_MODE_FREE_FORECAST,
] ]
DEFAULT_OWM_MODE = OWM_MODE_FREE_CURRENT DEFAULT_OWM_MODE = OWM_MODE_V30
LANGUAGES = [ LANGUAGES = [
"af", "af",