From 974a1da9f0ab265237a5e967914e9ae818c5478b Mon Sep 17 00:00:00 2001 From: Daniel <32464403+dkallen78@users.noreply.github.com> Date: Thu, 11 Jul 2024 05:37:44 -0600 Subject: [PATCH] [weather] update provider openweathermap to new apiVersion (#3496) Co-authored-by: Karsten Hassel --- CHANGELOG.md | 2 ++ modules/default/weather/providers/openweathermap.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dfe3202c..39b2d7e6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,8 @@ _This release is scheduled to be released on 2024-10-01._ ### Updated +- [weather] Updated `apiVersion` default from 2.5 to 3.0 + ### Fixed - Fixed `checks` badge in README.md diff --git a/modules/default/weather/providers/openweathermap.js b/modules/default/weather/providers/openweathermap.js index 0999c83f..11504bb5 100644 --- a/modules/default/weather/providers/openweathermap.js +++ b/modules/default/weather/providers/openweathermap.js @@ -11,7 +11,7 @@ WeatherProvider.register("openweathermap", { // Set the default config properties that is specific to this provider defaults: { - apiVersion: "2.5", + apiVersion: "3.0", apiBase: "https://api.openweathermap.org/data/", weatherEndpoint: "", // can be "onecall", "forecast" or "weather" (for current) locationID: false,