From f470ccd4e286230141558364099aebefd5094df4 Mon Sep 17 00:00:00 2001 From: andig Date: Fri, 27 Dec 2024 19:01:41 +0100 Subject: [PATCH] chore: align --- templates/definition/tariff/gruenstromindex.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/definition/tariff/gruenstromindex.yaml b/templates/definition/tariff/gruenstromindex.yaml index 5bf4fd713..98eac6a5d 100644 --- a/templates/definition/tariff/gruenstromindex.yaml +++ b/templates/definition/tariff/gruenstromindex.yaml @@ -21,7 +21,7 @@ render: | source: http uri: https://api.corrently.io/v2.0/gsi/prediction?zip={{ .zip }}&token={{ .token }} jq: | - [ .forecast[] | { + [ .forecast.[] | { start: .timeframe.start / 1000 | todate, end: .timeframe.end / 1000 | todate, price: .co2_g_standard