chore: upgrade gosunspec (#30149)
This commit is contained in:
parent
a2ebac9fcf
commit
bf187b9cb0
3 changed files with 5 additions and 5 deletions
|
|
@ -8,7 +8,7 @@ import (
|
|||
|
||||
sunspec "github.com/andig/gosunspec"
|
||||
bus "github.com/andig/gosunspec/modbus"
|
||||
"github.com/andig/gosunspec/smdx"
|
||||
"github.com/andig/gosunspec/types"
|
||||
"github.com/evcc-io/evcc/util"
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/volkszaehler/mbmd/meters"
|
||||
|
|
@ -37,7 +37,7 @@ func pf(format string, v ...any) {
|
|||
}
|
||||
|
||||
func modelName(m sunspec.Model) string {
|
||||
model := smdx.GetModel(uint16(m.Id()))
|
||||
model := types.GetModel(uint16(m.Id()))
|
||||
if model == nil {
|
||||
return ""
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue