Revert "Limit calls to climater api to charging status"

This reverts commit 366e4de177.
This commit is contained in:
andig 2023-02-18 16:49:23 +01:00
parent 366e4de177
commit f05a4f152c

View file

@ -1509,7 +1509,7 @@ func (lp *Loadpoint) Update(sitePower float64, batteryBuffered bool) {
targetCurrent := lp.pvMaxCurrent(mode, sitePower, batteryBuffered)
var required bool // false
if targetCurrent == 0 && lp.charging() && lp.climateActive() {
if targetCurrent == 0 && lp.climateActive() {
targetCurrent = lp.GetMinCurrent()
required = true
}