mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-15 09:20:32 +00:00
Enhancement: Add formatting options to weather widgets (#3093)
This commit is contained in:
parent
83d1ea5ec4
commit
b5258c5200
6 changed files with 9 additions and 1 deletions
|
@ -14,6 +14,8 @@ The free tier "One Call API" is all that's required, you will need to [subscribe
|
|||
provider: openweathermap
|
||||
apiKey: youropenweathermapkey # required only if not using provider, this reveals api key in requests
|
||||
cache: 5 # Time in minutes to cache API responses, to stay within limits
|
||||
format: # optional, Intl.NumberFormat options
|
||||
maximumFractionDigits: 1
|
||||
```
|
||||
|
||||
You can optionally not pass a `latitude` and `longitude` and the widget will use your current location (requires a secure context, eg. HTTPS).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue