Skip to content

Commit

Permalink
Shelly 3EM Gen2: fix total energy unit (evcc-io#7335)
Browse files Browse the repository at this point in the history
  • Loading branch information
thierolm authored Apr 10, 2023
1 parent 6e88e62 commit 440fdf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meter/shelly/energymeter.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func (sh *EnergyMeter) TotalEnergy() (float64, error) {
return 0, err
}

return res.TotalEnergy, nil
return res.TotalEnergy / 1000, nil
}

var _ api.PhaseCurrents = (*EnergyMeter)(nil)
Expand Down

0 comments on commit 440fdf7

Please sign in to comment.