Adjust docstring for SensorDeviceClass.WEIGHT (#79201)
This commit is contained in:
parent
1ac5696e7f
commit
f76eeaeea1
1 changed files with 4 additions and 1 deletions
|
@ -192,7 +192,10 @@ class SensorDeviceClass(StrEnum):
|
|||
|
||||
# weight/mass (g, kg, mg, µg, oz, lb)
|
||||
WEIGHT = "weight"
|
||||
"""Using weight instead of mass because is fits better with every day language"""
|
||||
"""Represent a measurement of an object's mass.
|
||||
|
||||
Weight is used instead of mass to fit with every day language.
|
||||
"""
|
||||
|
||||
|
||||
DEVICE_CLASSES_SCHEMA: Final = vol.All(vol.Lower, vol.Coerce(SensorDeviceClass))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue