From f05a4f152c659e369577e4115f73223467bcc7c2 Mon Sep 17 00:00:00 2001 From: andig Date: Sat, 18 Feb 2023 16:49:23 +0100 Subject: [PATCH] Revert "Limit calls to climater api to charging status" This reverts commit 366e4de177c576a5afd356de1d62d527bf86066c. --- core/loadpoint.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/loadpoint.go b/core/loadpoint.go index 0191dad8c..8e86fbe69 100644 --- a/core/loadpoint.go +++ b/core/loadpoint.go @@ -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 }