Complete #416
This commit is contained in:
parent
26c592a3e2
commit
e8bd532a3b
1 changed files with 0 additions and 2 deletions
|
|
@ -24,8 +24,6 @@ func init() {
|
|||
registry.Add("phoenix-evcc", NewPhoenixEVCCFromConfig)
|
||||
}
|
||||
|
||||
//go:generate go run ../cmd/tools/decorate.go -p charger -f decoratePhoenixEVCC -b api.Charger -o phoenix-evcc_decorators -t "api.Meter,CurrentPower,func() (float64, error)" -t "api.MeterEnergy,TotalEnergy,func() (float64, error)" -t "api.MeterCurrent,Currents,func() (float64, float64, float64, error)"
|
||||
|
||||
// NewPhoenixEVCCFromConfig creates a Phoenix charger from generic config
|
||||
func NewPhoenixEVCCFromConfig(other map[string]interface{}) (api.Charger, error) {
|
||||
cc := struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue