mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 09:17:53 +00:00
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
@ -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…
x
Reference in New Issue
Block a user