Add weather section to configuration page

This commit is contained in:
2022-02-22 12:26:48 -08:00
parent da49dff76f
commit 46e1fad742
2 changed files with 19 additions and 1 deletions

View File

@@ -119,4 +119,18 @@ This section contains options for music control
#### vol.interval
This field is an integer indicating how much the volume should be changed for each volume up or down event from the music control app.
This field is an integer indicating how much the volume should be changed for each volume up or down event from the music control app.
---
### weather
This section contains options for ITD's weather support
#### weather.enabled
This field is a boolean indicating whether the weather support should be enabled.
#### weather.location
This field is a string. It is given to OpenStreetMap Nominatim to retrieve coordinates to feed into the Norwegian Meteorological Institute's API. Anything that can be found on OpenStreetMap should also work here. It will always use the first result.