Elering: fix price conversion
This commit is contained in:
parent
2e8c239b69
commit
29dc7bd2f3
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue