evcc-io/plugin/gpio.go
2025-12-05 11:39:39 +01:00

18 lines
340 B
Go

//go:build !linux
package plugin
import (
"context"
"github.com/evcc-io/evcc/api"
)
func init() {
registry.AddCtx("gpio", NewGpioPluginFromConfig)
}
// NewGpioPluginFromConfig creates a GPIO provider
func NewGpioPluginFromConfig(ctx context.Context, other map[string]any) (Plugin, error) {
return nil, api.ErrUnsupportedPlatform
}