18 lines
396 B
Go
18 lines
396 B
Go
// +build !linux
|
|
|
|
package charger
|
|
|
|
import (
|
|
"errors"
|
|
|
|
"github.com/andig/evcc/api"
|
|
)
|
|
|
|
func init() {
|
|
registry.Add("nrgkick-bluetooth", NewNRGKickBLEFromConfig)
|
|
}
|
|
|
|
// NewNRGKickBLEFromConfig creates a NRGKickBLE charger from generic config
|
|
func NewNRGKickBLEFromConfig(other map[string]interface{}) (api.Charger, error) {
|
|
return nil, errors.New("NRGKick bluetooth is only supported on linux")
|
|
}
|