Skip to content

Commit

Permalink
Change energy sensor to total_increasing
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-r committed Mar 22, 2024
1 parent 1ce8aed commit e94699a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/ohme/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ class EnergyUsageSensor(CoordinatorEntity[OhmeChargeSessionsCoordinator], Sensor
_attr_suggested_unit_of_measurement = UnitOfEnergy.KILO_WATT_HOUR
_attr_suggested_display_precision = 1
_attr_device_class = SensorDeviceClass.ENERGY
_attr_state_class = SensorStateClass.TOTAL
_attr_state_class = SensorStateClass.TOTAL_INCREASING

def __init__(
self,
Expand Down

0 comments on commit e94699a

Please sign in to comment.