mirror of
https://github.com/home-assistant/core.git
synced 2025-07-10 14:57:09 +00:00
Change state class of weight sensors from total to measurement (#88314)
This commit is contained in:
parent
4f17f2ef5f
commit
f0b7343993
@ -563,6 +563,6 @@ DEVICE_CLASS_STATE_CLASSES: dict[SensorDeviceClass, set[SensorStateClass]] = {
|
|||||||
SensorStateClass.TOTAL,
|
SensorStateClass.TOTAL,
|
||||||
SensorStateClass.TOTAL_INCREASING,
|
SensorStateClass.TOTAL_INCREASING,
|
||||||
},
|
},
|
||||||
SensorDeviceClass.WEIGHT: {SensorStateClass.TOTAL},
|
SensorDeviceClass.WEIGHT: {SensorStateClass.MEASUREMENT},
|
||||||
SensorDeviceClass.WIND_SPEED: {SensorStateClass.MEASUREMENT},
|
SensorDeviceClass.WIND_SPEED: {SensorStateClass.MEASUREMENT},
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user