Change Ruuvi movement counter to correct state class (#85677)
change Ruuvi movement counter to correct class The counter's values are 0 to 255 increasing value, so the correct state class as per https://developers.home-assistant.io/docs/core/entity/sensor/#entities-representing-a-total-amount is TOTAL_INCREASING.
This commit is contained in:
parent
5a4df9d870
commit
45a41421b6
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ SENSOR_DESCRIPTIONS = {
|
|||
),
|
||||
(SSDSensorDeviceClass.COUNT, None): SensorEntityDescription(
|
||||
key="movement_counter",
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
state_class=SensorStateClass.TOTAL_INCREASING,
|
||||
entity_registry_enabled_default=False,
|
||||
),
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue