Tariff (Energy-Charts): cache forecast requests for 1h (#32800)
This commit is contained in:
parent
58d1f870fe
commit
904285688d
1 changed files with 1 additions and 0 deletions
|
|
@ -50,6 +50,7 @@ render: |
|
|||
forecast:
|
||||
source: http
|
||||
uri: https://api.energy-charts.info/price?bzn={{ .bzn }}&end={{ `{{ addDate now 0 0 1 | date "2006-01-02" }}` }}
|
||||
cache: 1h
|
||||
jq: |
|
||||
[.unix_seconds, .price] | transpose | map({
|
||||
"start": .[0] | todate,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue