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

Method GetPlanStrategy

core/loadpoint_api.go:439–443  ·  view source on GitHub ↗

GetPlanStrategy returns the plan strategy

()

Source from the content-addressed store, hash-verified

437
438// GetPlanStrategy returns the plan strategy
439func (lp *Loadpoint) GetPlanStrategy() api.PlanStrategy {
440 lp.RLock()
441 defer lp.RUnlock()
442 return lp.getPlanStrategy()
443}
444
445// GetSoc returns the PV mode threshold settings
446func (lp *Loadpoint) GetSocConfig() loadpoint.SocConfig {

Callers

nothing calls this directly

Calls 3

RLockMethod · 0.95
RUnlockMethod · 0.95
getPlanStrategyMethod · 0.95

Tested by

no test coverage detected