Add charger authorization api (#15399)

This commit is contained in:
andig 2024-08-24 13:31:09 +02:00 • committed by GitHub
parent 208f113346
commit 5cf124af50
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 1733 additions and 71 deletions

View file

@ -49,6 +49,10 @@ type ChargeState interface {
Status() (ChargeStatus, error)
}
type StatusReasoner interface {
StatusReason() (Reason, error)
}
// CurrentController provides settings charging maximum charging current
type CurrentController interface {
MaxCurrent(current int64) error