Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit e94699a

Browse files
committed
Change energy sensor to total_increasing
1 parent 1ce8aed commit e94699a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom_components/ohme/sensor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ class EnergyUsageSensor(CoordinatorEntity[OhmeChargeSessionsCoordinator], Sensor
268268
_attr_suggested_unit_of_measurement = UnitOfEnergy.KILO_WATT_HOUR
269269
_attr_suggested_display_precision = 1
270270
_attr_device_class = SensorDeviceClass.ENERGY
271-
_attr_state_class = SensorStateClass.TOTAL
271+
_attr_state_class = SensorStateClass.TOTAL_INCREASING
272272

273273
def __init__(
274274
self,

0 commit comments

Comments
 (0)