From 29dc7bd2f3a68a3dc69da627a436eacfdc88b06e Mon Sep 17 00:00:00 2001 From: andig Date: Sat, 15 Apr 2023 11:10:10 +0200 Subject: [PATCH] Elering: fix price conversion --- tariff/elering.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tariff/elering.go b/tariff/elering.go index aa3a27070..893e1070b 100644 --- a/tariff/elering.go +++ b/tariff/elering.go @@ -92,7 +92,7 @@ func (t *Elering) run(done chan error) { ar := api.Rate{ Start: ts.Local(), End: ts.Add(time.Hour).Local(), - Price: r.Price / 100, + Price: r.Price / 1e3, } t.data = append(t.data, ar) }