MCPcopy Create free account
hub / github.com/evcc-io/evcc / getPlanEnergy

Method getPlanEnergy

core/loadpoint_api.go:359–361  ·  view source on GitHub ↗

getPlanEnergy returns plan target energy

()

Source from the content-addressed store, hash-verified

357
358// getPlanEnergy returns plan target energy
359func (lp *Loadpoint) getPlanEnergy() (time.Time, float64) {
360 return lp.planTime, lp.planEnergy
361}
362
363// setPlanEnergy sets plan target energy (no mutex)
364func (lp *Loadpoint) setPlanEnergy(finishAt time.Time, energy float64) {

Callers 3

GetPlanEnergyMethod · 0.95
EffectivePlanTimeMethod · 0.95
GetPlanGoalMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected