energyforecast: provide 96 hours (#26436)

This commit is contained in:
Moritz Mair 2026-01-05 11:09:05 +01:00 • committed by GitHub
parent 2b478a592f
commit ecaa0e6068
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -16,7 +16,7 @@ render: |
{{ include "tariff-features" . }}
forecast:
source: http
uri: https://www.energyforecast.de/api/v1/predictions/next_48_hours?resolution=QUARTER_HOURLY&fixed_cost_cent=0&vat=0&token={{ .token }}
uri: https://www.energyforecast.de/api/v1/predictions/next_96_hours?resolution=QUARTER_HOURLY&fixed_cost_cent=0&vat=0&token={{ .token }}
jq: |
map({
"start": .start | strptime("%Y-%m-%dT%H:%M:%S.%f%z") | mktime | strftime("%Y-%m-%dT%H:%M:%SZ"),