chore: modernize

This commit is contained in:
andig 2025-11-06 09:59:02 +01:00
parent cf05bbf11d
commit f654f306ab

View file

@ -24,7 +24,7 @@ func init() {
}
// NewSgReadyRelayFromConfig creates an SG Ready charger with boost/dim relays from generic config
func NewSgReadyRelayFromConfig(ctx context.Context, other map[string]interface{}) (api.Charger, error) {
func NewSgReadyRelayFromConfig(ctx context.Context, other map[string]any) (api.Charger, error) {
cc := struct {
embed `mapstructure:",squash"`
Boost config.Typed