Skip to content

Commit

Permalink
fix energy spikes
Browse files Browse the repository at this point in the history
  • Loading branch information
hif2k1 authored Dec 7, 2022
1 parent e76fc18 commit 852c693
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/battery_sim/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
STATE_CLASS_MEASUREMENT,
STATE_CLASS_TOTAL,
SensorEntity,
ATTR_LAST_RESET
)
from homeassistant.const import (
DEVICE_CLASS_ENERGY,
Expand Down

0 comments on commit 852c693

Please sign in to comment.