Correct pet_weight sensor state class in litterrobot (#86320)

This commit is contained in:
Nathan Spencer 2023-01-20 16:00:05 -07:00 committed by GitHub
parent 58bfeb3110
commit be5fe29dc9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -141,7 +141,7 @@ ROBOT_SENSOR_MAP: dict[type[Robot], list[RobotSensorEntityDescription]] = {
name="Pet weight", name="Pet weight",
native_unit_of_measurement=UnitOfMass.POUNDS, native_unit_of_measurement=UnitOfMass.POUNDS,
device_class=SensorDeviceClass.WEIGHT, device_class=SensorDeviceClass.WEIGHT,
state_class=SensorStateClass.MEASUREMENT, state_class=SensorStateClass.TOTAL,
), ),
], ],
FeederRobot: [ FeederRobot: [