Change state class of weight sensors from total to measurement (#88314)
This commit is contained in:
parent
4f17f2ef5f
commit
f0b7343993
1 changed files with 1 additions and 1 deletions
|
@ -563,6 +563,6 @@ DEVICE_CLASS_STATE_CLASSES: dict[SensorDeviceClass, set[SensorStateClass]] = {
|
|||
SensorStateClass.TOTAL,
|
||||
SensorStateClass.TOTAL_INCREASING,
|
||||
},
|
||||
SensorDeviceClass.WEIGHT: {SensorStateClass.TOTAL},
|
||||
SensorDeviceClass.WEIGHT: {SensorStateClass.MEASUREMENT},
|
||||
SensorDeviceClass.WIND_SPEED: {SensorStateClass.MEASUREMENT},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue