Pantabox: Fix power scale (#7986)
This commit is contained in:
parent
bd3b28b329
commit
1e2bb607b3
1 changed files with 1 additions and 1 deletions
|
|
@ -109,7 +109,7 @@ func (wb *Pantabox) CurrentPower() (float64, error) {
|
|||
}
|
||||
|
||||
err := wb.GetJSON(wb.uri+"/meter/power", &res)
|
||||
return res.Power, err
|
||||
return res.Power * 1e3, err
|
||||
}
|
||||
|
||||
var _ api.Diagnosis = (*Pantabox)(nil)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue