chore: minor (#32748)

This commit is contained in:
andig 2026-08-11 18:05:57 +02:00 • committed by GitHub
parent c1a7b33302
commit 3189e011f2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -65,10 +65,6 @@ func NewAccumulator(opt ...func(*Accumulator)) *Accumulator {
return m
}
func (m *Accumulator) Updated() time.Time {
return m.updated
}
func (m *Accumulator) String() string {
b := new(bytes.Buffer)
fmt.Fprintf(b, "Accumulated: %.3fkWh energy, %.3fkWh return energy, updated: %v", m.Energy, m.ReturnEnergy, m.updated.Truncate(time.Second))