Revert "Limit calls to climater api to charging status"
This reverts commit 366e4de177.
This commit is contained in:
parent
366e4de177
commit
f05a4f152c
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue