evcc-io/api/batterymode.go
2023-11-09 12:42:39 +01:00

12 lines
258 B
Go

package api
// BatteryMode is the home battery operation mode. Valid values are normal, locked and charge
type BatteryMode int
//go:generate enumer -type BatteryMode
const (
BatteryUnknown BatteryMode = iota
BatteryNormal
BatteryLocked
BatteryCharge
)