chore: use decimal id format

This commit is contained in:
andig 2022-06-25 11:11:12 +02:00
parent cdf3ee4540
commit 70c47ae46f

View file

@ -55,7 +55,7 @@ func init() {
// NewAmtronFromConfig creates a Mennekes Amtron charger from generic config
func NewAmtronFromConfig(other map[string]interface{}) (api.Charger, error) {
cc := modbus.TcpSettings{
ID: 0xff,
ID: 255,
}
if err := util.DecodeOther(other, &cc); err != nil {