Skip to content

Commit

Permalink
πŸ› Remove incorrect device class duration
Browse files Browse the repository at this point in the history
Start/Stop is a counter (not a duration)

Fixes #78

Change-Id: I48fa83f6c89024e6b8524cb5518f42cf132fec2b
  • Loading branch information
kamaradclimber committed Jan 16, 2023
1 parent 0f422bd commit 39dce54
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion custom_components/aquarea/definitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,6 @@ def build_sensors(mqtt_prefix: str) -> list[HeishaMonSensorEntityDescription]:
heishamon_topic_id="TOP12",
key=f"{mqtt_prefix}main/Operations_Counter",
name="Aquarea Compressor Start/Stop Counter",
device_class=SensorDeviceClass.DURATION,
state_class=SensorStateClass.TOTAL_INCREASING,
entity_category=EntityCategory.DIAGNOSTIC,
),
Expand Down

0 comments on commit 39dce54

Please sign in to comment.