Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions modules/default/weather/providers/openmeteo.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/* global WeatherProvider, WeatherObject */

/* This class is a provider for Open-Meteo,
/*
* This class is a provider for Open-Meteo,
* see https://open-meteo.com/
*/

Expand All @@ -9,8 +10,11 @@ const GEOCODE_BASE = "https://api.bigdatacloud.net/data/reverse-geocode-client";
const OPEN_METEO_BASE = "https://api.open-meteo.com/v1";

WeatherProvider.register("openmeteo", {
// Set the name of the provider.
// Not strictly required, but helps for debugging.

/*
* Set the name of the provider.
* Not strictly required, but helps for debugging.
*/
providerName: "Open-Meteo",

// Set the default config properties that is specific to this provider
Expand Down
Loading