Skip to content

Commit

Permalink
Merge pull request #368 from maxyvon/unrecord_attributes
Browse files Browse the repository at this point in the history
HiloRewardSensor unrecorded_attributes
  • Loading branch information
ic-dev21 authored Feb 5, 2024
2 parents 0ca75e7 + 3779800 commit d05f326
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/hilo/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,7 @@ 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):
self._attr_name = "Recompenses Hilo"
Expand Down

0 comments on commit d05f326

Please sign in to comment.