diff --git a/cmd/dump.go b/cmd/dump.go index 5895aaa5b..b40652e3c 100644 --- a/cmd/dump.go +++ b/cmd/dump.go @@ -79,7 +79,7 @@ func runDump(cmd *cobra.Command, args []string) { d.Header(fmt.Sprintf("loadpoint %d", id+1), "=") fmt.Println("") - if name := lp.Meters.ChargeMeterRef; name != "" { + if name := lp.MeterRef; name != "" { d.DumpWithHeader(fmt.Sprintf("charge: %s", name), cp.Meter(name)) }