Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Elering: add all Nordpool regions #17493

Closed
wants to merge 5 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions templates/definition/tariff/elering.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
template: elering
template: Nordpool
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will break existing installs. Either: keep old name. Or:

template: nordpool
covers: ["elering"]

I'd indeed leave the name since that's the actual API we're using.

products:
- brand: Nordpool
- brand: Nordpool-Group
description:
generic: "Elering"
generic: "Nordpool"
requirements:
description:
de: "Nur für Estland verfügbar."
en: "Only available for Estonia."
de: "Verfügbare Regionen sind Estland, Lettland, Litauen, Finnland, Schweden, Norwegen, Dänemark, Rumänien, Österreich, Belgien, Frankreich, Deutschland, Niederlande, Polen."
en: "Available regions are Estonia, Latvia, Lithuania, Finland, Sweden, Norway, Denmark, Romania, Austria, Belgium, France, Germany, Netherlands, Poland."
group: price
params:
- name: region
example: ee
validvalues: ["ee", "lt", "lv", "fi"]
validvalues: ["at", "be", "dk1", "dk2", "ee", "lt", "lv", "fi", "fr", "ger", "nl", "no1", "no2", "no3", "no4", "no5" ,"pl", "se1", "se2", "se3", "se4", "tel" ]
- preset: tariff-base
render: |
type: elering
type: Nordpool
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
type: Nordpool
type: elering

there is no "Nordpool" Go code ;)

region: {{ .region }}
{{ include "tariff-base" . }}