Add BKW feed-in tariff (#31424)

Co-authored-by: Simon Bergamin <simon.bergamin@sbb.ch>
Co-authored-by: andig <cpuidle@gmail.com>
This commit is contained in:
saimonsez 2026-07-05 10:12:04 +02:00 • committed by GitHub
parent 67f7f286ac
commit ef5cd8ac4b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,28 @@
template: bkw
products:
- brand: BKW
description:
de: Dynamische Abnahmevergütung
en: Dynamic feed-in remuneration
requirements:
evcc: ["skiptest"]
group: price
countries: ["CH"]
params:
- preset: tariff-base
- name: tax
default: 0.081
render: |
type: custom
{{ include "tariff-base" . }}
forecast:
source: http
uri: https://api.bkw.ch/api/dyntariffs/v1/tariffs
jq: |
[.prices[] |
{
start: (.start_timestamp),
end: (.end_timestamp),
value: (.feed_in[]? | select(.unit == "CHF_kWh") | .value)
} | select(.value != null)
] | tostring