SGReady: remove unused phases parameter (BC) (#21317)

This commit is contained in:
andig 2025-05-19 20:09:36 +02:00 • committed by GitHub
parent 8999d0e453
commit 0022dd69a4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -56,13 +56,11 @@ func NewSgReadyFromConfig(ctx context.Context, other map[string]interface{}) (ap
GetMode *plugin.Config // optional
measurement.Temperature `mapstructure:",squash"`
measurement.Energy `mapstructure:",squash"`
Phases int
}{
embed: embed{
Icon_: "heatpump",
Features_: []api.Feature{api.Heating, api.IntegratedDevice},
},
Phases: 1,
}
if err := util.DecodeOther(other, &cc); err != nil {