Tariff (Energy-Charts): cache forecast requests for 1h (#32800)

This commit is contained in:
github-actions[bot] 2026-08-13 09:44:27 +00:00 • committed by GitHub
parent 58d1f870fe
commit 904285688d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,