chore: upgrade gosunspec (#30149)

This commit is contained in:
andig 2026-05-23 14:51:05 +02:00 • committed by GitHub
parent a2ebac9fcf
commit bf187b9cb0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 5 deletions

View file

@ -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 ""
}