KEBA: fix config
This commit is contained in:
parent
d6f6685c56
commit
881c4a3641
1 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue