Skip to content

Commit f57b8e1

Browse files
authored
Added missing weather provider. (#284)
SMHI was missing as a valid weather provider.
1 parent 0e1b0d5 commit f57b8e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/weather.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ The following properties can be configured:
4545

4646
| Option | Description |
4747
| ------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
48-
| `weatherProvider` | Which weather provider should be used. <br><br> **Possible values:** `openweathermap` , `pirateweather` , `weathergov`, `ukmetofficedatahub`, `ukmetoffice`, `weatherbit`, `envcanada`, `openmeteo`, `weatherflow` or `yr`<br> **Default value:** `openweathermap` |
48+
| `weatherProvider` | Which weather provider should be used. <br><br> **Possible values:** `openweathermap` , `pirateweather` , `weathergov`, `ukmetofficedatahub`, `ukmetoffice`, `weatherbit`, `envcanada`, `openmeteo`, `weatherflow`, `SMHI` or `yr`<br> **Default value:** `openweathermap` |
4949
| `type` | Which type of weather data should be displayed. <br><br> **Possible values:** `current` , `hourly` , `daily` , or `forecast` <br> **Default value:** `current` <br><br> **Note:** The `daily` type is another name for the `forecast` type, and the two are interchangeable. <br><br> The `hourly` type is currently only implemented for these provider: <br>- **Environment Canada** (`envcanada`) <br>- **Openmeteo** <br>- **OpenWeatherMap** (`openweathermap`), and only when `/onecall` is used as the specified endpoint. Latitude and longitude [(see below)](/modules/weather.md#openweathermap-options) are **required** for `hourly`. The locationID and location options are ignored when the OpenWeatherMap One Call API is used and you will get wrong weather information.<br>- **Weather.gov** (`weathergov`)<br/>- **Yr** (`yr`) |
5050
| `units` | What units to use. Specified by config.js <br><br> **Possible values:** `config.units` = Specified by config.js, `metric` = Celsius, `imperial` = Fahrenheit <br> **Default value:** `config.units` |
5151
| `tempUnits` | What units to use for temperature. If not specified, the module uses the `units` value from `config.js`. <br><br> **Possible values:** `config.units` = Specified by config.js, `metric` = Celsius, `imperial` = Fahrenheit <br> **Default value:** `config.units` |

0 commit comments

Comments
 (0)