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

Method shouldBeConsistent

core/loadpoint.go:1974–1976  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1972}
1973
1974func (lp *Loadpoint) shouldBeConsistent() bool {
1975 return lp.chargerUpdateCompleted() && lp.phaseSwitchCompleted()
1976}
1977
1978// chargerUpdateCompleted returns true if enable command should be already processed by the charger (so we can try to sync charger and loadpoint)
1979func (lp *Loadpoint) chargerUpdateCompleted() bool {

Callers 2

syncChargerMethod · 0.95

Calls 2

phaseSwitchCompletedMethod · 0.95

Tested by

no test coverage detected