diff --git a/core/loadpoint.go b/core/loadpoint.go index bd4ad667b..704e9e145 100644 --- a/core/loadpoint.go +++ b/core/loadpoint.go @@ -153,7 +153,7 @@ type Loadpoint struct { planner *planner.Planner targetTime time.Time // time goal planSlotEnd time.Time // current plan slot end time - planActive bool // plan is active + planActive bool // charge plan exists and has a currently active slot // cached state status api.ChargeStatus // Charger status diff --git a/core/loadpoint_plan.go b/core/loadpoint_plan.go index ed5faf377..94002aa04 100644 --- a/core/loadpoint_plan.go +++ b/core/loadpoint_plan.go @@ -66,7 +66,7 @@ func (lp *Loadpoint) GetPlan(targetTime time.Time, maxPower float64) (time.Durat return requiredDuration, plan, err } -// plannerActive checks if the charging plan has an active slot +// plannerActive checks if the charging plan has a currently active slot func (lp *Loadpoint) plannerActive() (active bool) { defer func() { lp.setPlanActive(active)