[weather] update provider openweathermap to new apiVersion (#3496)

Co-authored-by: Karsten Hassel <hassel@gmx.de>
This commit is contained in:
Daniel 2024-07-11 05:37:44 -06:00 committed by GitHub
parent 4d14f4a2c1
commit 974a1da9f0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View File

@ -17,6 +17,8 @@ _This release is scheduled to be released on 2024-10-01._
### Updated ### Updated
- [weather] Updated `apiVersion` default from 2.5 to 3.0
### Fixed ### Fixed
- Fixed `checks` badge in README.md - Fixed `checks` badge in README.md

View File

@ -11,7 +11,7 @@ WeatherProvider.register("openweathermap", {
// Set the default config properties that is specific to this provider // Set the default config properties that is specific to this provider
defaults: { defaults: {
apiVersion: "2.5", apiVersion: "3.0",
apiBase: "https://api.openweathermap.org/data/", apiBase: "https://api.openweathermap.org/data/",
weatherEndpoint: "", // can be "onecall", "forecast" or "weather" (for current) weatherEndpoint: "", // can be "onecall", "forecast" or "weather" (for current)
locationID: false, locationID: false,