chore: fix lint

This commit is contained in:
andig 2025-03-06 14:56:12 +01:00
parent 73b7014704
commit 79c95a0dee

View file

@ -15,13 +15,6 @@ type meterEnergy struct {
Accumulated float64 `json:"accumulated"` // kWh
}
// reset resets data
func (m *meterEnergy) reset() {
m.updated = time.Time{}
m.meter = nil
m.Accumulated = 0
}
func (m *meterEnergy) AccumulatedEnergy() float64 {
return m.Accumulated
}