Skip to content

Commit

Permalink
Always poll soc for integrated devices (evcc-io#10284)
Browse files Browse the repository at this point in the history
  • Loading branch information
andig authored Oct 12, 2023
1 parent e358339 commit c1acd27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/loadpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -1377,7 +1377,7 @@ func (lp *Loadpoint) publishSocAndRange() {
return
}

if err == nil || lp.vehicleSocPollAllowed() {
if err == nil || lp.chargerHasFeature(api.IntegratedDevice) || lp.vehicleSocPollAllowed() {
lp.socUpdated = lp.clock.Now()

f, err := lp.socEstimator.Soc(lp.getChargedEnergy())
Expand Down

0 comments on commit c1acd27

Please sign in to comment.