Use SensorDeviceClass.WEIGHT in components (#79277)

This commit is contained in:
epenet 2022-09-29 11:28:59 +02:00 committed by GitHub
parent fab3ee90b2
commit c527defe31
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 2 deletions

View file

@ -111,6 +111,7 @@ ROBOT_SENSOR_MAP: dict[type[Robot], list[RobotSensorEntityDescription]] = {
name="Pet weight",
icon="mdi:scale",
native_unit_of_measurement=MASS_POUNDS,
device_class=SensorDeviceClass.WEIGHT,
),
],
FeederRobot: [