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

Method setSocConfig

core/loadpoint_api.go:452–456  ·  view source on GitHub ↗
(soc loadpoint.SocConfig)

Source from the content-addressed store, hash-verified

450}
451
452func (lp *Loadpoint) setSocConfig(soc loadpoint.SocConfig) {
453 lp.Soc = soc
454 lp.settings.SetJson(keys.Soc, soc)
455 lp.requestUpdate()
456}
457
458// SetSoc sets the PV mode threshold settings
459func (lp *Loadpoint) SetSocConfig(soc loadpoint.SocConfig) {

Callers 2

restoreSettingsMethod · 0.95
SetSocConfigMethod · 0.95

Calls 2

requestUpdateMethod · 0.95
SetJsonMethod · 0.65

Tested by

no test coverage detected