Skip to content

Commit

Permalink
remove invalid SensorStateClass for timestamp sensor
Browse files Browse the repository at this point in the history
  • Loading branch information
markvader authored Feb 13, 2023
1 parent 3274123 commit e8c3707
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion custom_components/sonic/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,6 @@ class SonicTelemetryTime(SonicEntity, SensorEntity):

_attr_icon = TIMER_ICON
_attr_device_class = SensorDeviceClass.TIMESTAMP
_attr_state_class: SensorStateClass = SensorStateClass.MEASUREMENT
_attr_entity_category = EntityCategory.DIAGNOSTIC

def __init__(self, device):
Expand Down

0 comments on commit e8c3707

Please sign in to comment.