KEBA: fix config

This commit is contained in:
andig 2024-07-22 13:06:41 +02:00
parent d6f6685c56
commit 881c4a3641

View file

@ -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,