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

Method GetStatus

core/loadpoint_api.go:139–143  ·  view source on GitHub ↗

GetStatus returns the charging status

()

Source from the content-addressed store, hash-verified

137
138// GetStatus returns the charging status
139func (lp *Loadpoint) GetStatus() api.ChargeStatus {
140 lp.RLock()
141 defer lp.RUnlock()
142 return lp.status
143}
144
145// GetMode returns loadpoint charge mode
146func (lp *Loadpoint) GetMode() api.ChargeMode {

Callers 5

connectedMethod · 0.95
chargingMethod · 0.95
updateChargerStatusMethod · 0.95
getStatusChangesMethod · 0.95
UpdateMethod · 0.95

Calls 2

RLockMethod · 0.95
RUnlockMethod · 0.95

Tested by

no test coverage detected