From 3428ddf2c29842fd68588ab159bb09f4d8921dc4 Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Wed, 4 Mar 2026 15:02:22 +0000 Subject: [PATCH] fix: bufferStartSoc 100% never triggers auto-start charging (#27922) Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: naltatis <152287+naltatis@users.noreply.github.com> --- core/site.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/site.go b/core/site.go index 02764fbd3..e1f5a6532 100644 --- a/core/site.go +++ b/core/site.go @@ -850,7 +850,7 @@ func (site *Site) sitePower(totalChargePower, flexiblePower float64) (float64, b } else { // if battery is above bufferSoc allow using it for charging batteryBuffered = site.bufferSoc > 0 && site.battery.Soc > site.bufferSoc - batteryStart = site.bufferStartSoc > 0 && site.battery.Soc > site.bufferStartSoc + batteryStart = site.bufferStartSoc > 0 && site.battery.Soc >= site.bufferStartSoc } }