Etrel: fix config
This commit is contained in:
parent
16ddaf118d
commit
437661a95e
1 changed files with 2 additions and 2 deletions
|
|
@ -64,8 +64,8 @@ func init() {
|
|||
// NewEtrelFromConfig creates a Etrel charger from generic config
|
||||
func NewEtrelFromConfig(other map[string]interface{}) (api.Charger, error) {
|
||||
cc := struct {
|
||||
Connector int
|
||||
modbus.TcpSettings
|
||||
Connector int
|
||||
modbus.TcpSettings `mapstructure:",squash"`
|
||||
}{
|
||||
Connector: 1,
|
||||
TcpSettings: modbus.TcpSettings{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue