From 9739fe9680cf0a3943697820ec79b32ddfcd0fd3 Mon Sep 17 00:00:00 2001 From: Oakside15 Date: Fri, 17 Oct 2025 08:39:05 +0200 Subject: [PATCH] Solarprognose.de: remove default algorithm (#24496) --- templates/definition/tariff/solarprognose.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/templates/definition/tariff/solarprognose.yaml b/templates/definition/tariff/solarprognose.yaml index d0191ff79..edfe1df8e 100644 --- a/templates/definition/tariff/solarprognose.yaml +++ b/templates/definition/tariff/solarprognose.yaml @@ -37,7 +37,6 @@ params: description: en: Forecasting Algorithm (mosmix, own-v1 or clearsky) de: Prognosealgorithmus (mosmix, own-v1 oder clearsky) - default: mosmix advanced: true - name: interval default: 1h @@ -48,7 +47,7 @@ render: | forecast: source: http # Base URL with required params (format, type, algorithm, access token), then optional item-based parameters - uri: https://www.solarprognose.de/web/solarprediction/api/v1?_format=json&type=hourly&algorithm={{ .algorithm }}&access-token={{ .token }}{{ if .item }}&item={{ .item }}{{ if .id }}&id={{ .id }}{{ else }}&token={{ unquote .uniquetoken }}{{ end }}{{ end }} + uri: https://www.solarprognose.de/web/solarprediction/api/v1?_format=json&type=hourly{{ if .algorithm }}&algorithm={{ .algorithm }}{{ end }}&access-token={{ .token }}{{ if .item }}&item={{ .item }}{{ if .id }}&id={{ .id }}{{ else }}&token={{ unquote .uniquetoken }}{{ end }}{{ end }} jq: | [ .data | to_entries.[] | { "start": (.key | tonumber | strftime("%FT%TZ") ),