Skip to content

Commit

Permalink
Add Spotty Energy tariff (evcc-io#16946)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomjschwanke authored Oct 29, 2024
1 parent adf1e5a commit de704d2
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions templates/definition/tariff/spottyenergy.yaml
Original file line number Diff line number Diff line change
@@ -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'

0 comments on commit de704d2

Please sign in to comment.