Fix yr weather provider api version (#3248)

Fixes #3227 once more
This commit is contained in:
Veeck 2023-10-24 00:46:25 +02:00 committed by GitHub
parent f80889d953
commit 04f0df269a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ _This release is scheduled to be released on 2024-01-01._
- Avoid fade out/in on updateDom when many calendars are used - Avoid fade out/in on updateDom when many calendars are used
- Fix the option eventClass on customEvents. - Fix the option eventClass on customEvents.
- Fix yr API version in locationforecast call (#3227) - Fix yr API version in locationforecast and sunrise call (#3227)
- Fix cloneObject() function to respect RegExp (#3237) - Fix cloneObject() function to respect RegExp (#3237)
- Fix newsfeed module for feeds using "a10:updated" tag (#3238) - Fix newsfeed module for feeds using "a10:updated" tag (#3238)
- Fix issue template (3167) - Fix issue template (3167)

View File

@ -18,7 +18,7 @@ WeatherProvider.register("yr", {
defaults: { defaults: {
useCorsProxy: true, useCorsProxy: true,
apiBase: "https://api.met.no/weatherapi", apiBase: "https://api.met.no/weatherapi",
forecastApiVersion: "3.0", forecastApiVersion: "2.0",
sunriseApiVersion: "3.0", sunriseApiVersion: "3.0",
altitude: 0, altitude: 0,
currentForecastHours: 1 //1, 6 or 12 currentForecastHours: 1 //1, 6 or 12