Skip to content

Commit

Permalink
Merge pull request #401 from ic-dev21/Issue400
Browse files Browse the repository at this point in the history
Fix pour issue 400
  • Loading branch information
valleedelisle authored Mar 21, 2024
2 parents 9bb1084 + f607933 commit 9a6e2c8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions custom_components/hilo/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,6 @@ class EnergySensor(IntegrationSensor):
_attr_device_class = SensorDeviceClass.ENERGY
_attr_native_unit_of_measurement = UnitOfEnergy.KILO_WATT_HOUR
_attr_state_class = SensorStateClass.TOTAL_INCREASING
_attr_suggested_unit_of_measurement = UnitOfEnergy.KILO_WATT_HOUR
_attr_unit_of_measurement = UnitOfEnergy.KILO_WATT_HOUR
_attr_icon = "mdi:lightning-bolt"

Expand Down Expand Up @@ -540,7 +539,6 @@ class HiloRewardSensor(HiloEntity, RestoreEntity, SensorEntity):

_attr_device_class = SensorDeviceClass.MONETARY
_attr_state_class = SensorStateClass.TOTAL_INCREASING
_attr_suggested_unit_of_measurement = "CAD"
_entity_component_unrecorded_attributes = frozenset({"history"})

def __init__(self, hilo, device, scan_interval):
Expand Down

0 comments on commit 9a6e2c8

Please sign in to comment.