Add Spotty Energy tariff (#16946)
This commit is contained in:
parent
adf1e5a9c0
commit
de704d2107
1 changed files with 23 additions and 0 deletions
23
templates/definition/tariff/spottyenergy.yaml
Normal file
23
templates/definition/tariff/spottyenergy.yaml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
template: spottyenergy
|
||||
products:
|
||||
- brand: Spotty Energie
|
||||
requirements:
|
||||
description:
|
||||
de: "Nur für Österreich verfügbar."
|
||||
en: "Only available for Austria."
|
||||
group: price
|
||||
params:
|
||||
- name: contractId
|
||||
example: ffffffff-4444-6666-2222-aaaaaabbbbbb
|
||||
required: true
|
||||
help:
|
||||
de: "Die Vertragsnummer bekommst du im Kundenportal https://i.spottyenergie.at/"
|
||||
en: "You can get your contract id from the customer portal https://i.spottyenergie.at/"
|
||||
- preset: tariff-base
|
||||
render: |
|
||||
type: custom
|
||||
{{ include "tariff-base" . }}
|
||||
forecast:
|
||||
source: http
|
||||
uri: https://i.spottyenergie.at/api/prices/MARKET/{{ .contractId }}
|
||||
jq: '[.[] | {start: .from, end: (.from | fromdate + 3600 | todate), price: (.price/100)}] | tostring'
|
||||
Loading…
Add table
Add a link
Reference in a new issue