MCPcopy
hub / github.com/evcc-io/evcc / Add

Method Add

util/config/instance.go:41–41  ·  view source on GitHub ↗
(dev Device[T])

Source from the content-addressed store, hash-verified

39 Subscribe(fn func(Operation, Device[T]))
40 Devices() []Device[T]
41 Add(dev Device[T]) error
42 Delete(name string) error
43 ByName(name string) (Device[T], error)
44}

Callers 15

StringGetterMethod · 0.65
parseRelativeTimeFunction · 0.65
initFunction · 0.65
initFunction · 0.65
initFunction · 0.65
initFunction · 0.65
initFunction · 0.65
TestCachedHitAndExpiryFunction · 0.65
runMethod · 0.65
LoginMethod · 0.65

Calls

no outgoing calls

Tested by 15

TestCachedHitAndExpiryFunction · 0.52
TestTimerFunction · 0.52
TestPublishSocAndRangeFunction · 0.52
TestSessionFunction · 0.52
createMockSessionsFunction · 0.52
TestResetHeatingSessionFunction · 0.52
TestNextPlanFunction · 0.52
TestPlanLockingFunction · 0.52