Ignore minor negative values for charge power
This commit is contained in:
parent
9d61d98414
commit
3b7f3824a5
1 changed files with 2 additions and 1 deletions
|
|
@ -1178,7 +1178,8 @@ func (lp *LoadPoint) updateChargePower() {
|
|||
lp.log.DEBUG.Printf("charge power: %.0fW", value)
|
||||
lp.publish("chargePower", value)
|
||||
|
||||
if lp.chargePower < 0 {
|
||||
// use -1 for https://github.com/evcc-io/evcc/issues/2153
|
||||
if lp.chargePower < -1 {
|
||||
lp.log.WARN.Printf("charge power must not be negative: %.0f", lp.chargePower)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue