package api // BatteryMode is the home battery operation mode. Valid values are normal, hold, charge and holdcharge type BatteryMode int //go:generate go tool enumer -type BatteryMode -trimprefix Battery -transform=lower const ( BatteryUnknown BatteryMode = iota BatteryNormal BatteryHold BatteryCharge BatteryHoldCharge )