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

Method GetPlanEnergy

core/loadpoint_api.go:352–356  ·  view source on GitHub ↗

GetPlanEnergy returns plan target energy

()

Source from the content-addressed store, hash-verified

350
351// GetPlanEnergy returns plan target energy
352func (lp *Loadpoint) GetPlanEnergy() (time.Time, float64) {
353 lp.RLock()
354 defer lp.RUnlock()
355 return lp.getPlanEnergy()
356}
357
358// getPlanEnergy returns plan target energy
359func (lp *Loadpoint) getPlanEnergy() (time.Time, float64) {

Callers

nothing calls this directly

Calls 3

RLockMethod · 0.95
RUnlockMethod · 0.95
getPlanEnergyMethod · 0.95

Tested by

no test coverage detected