Elering: fix price conversion

This commit is contained in:
andig 2023-04-15 11:10:10 +02:00 • committed by GitHub
parent 2e8c239b69
commit 29dc7bd2f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)
}