diff --git a/charger/keba-modbus.go b/charger/keba-modbus.go index 4f1b1641d..8ef5bb5ae 100644 --- a/charger/keba-modbus.go +++ b/charger/keba-modbus.go @@ -70,8 +70,8 @@ func init() { // NewKebaFromConfig creates a new Keba ModbusTCP charger func NewKebaFromConfig(other map[string]interface{}) (api.Charger, error) { cc := struct { - embed `mapstructure:",squash"` - modbus.TcpSettings + embed `mapstructure:",squash"` + modbus.TcpSettings `mapstructure:",squash"` }{ TcpSettings: modbus.TcpSettings{ ID: 255,