mirror of
https://github.com/home-assistant/core.git
synced 2025-06-15 10:37:06 +00:00
Adjust docstring for SensorDeviceClass.WEIGHT (#79201)
This commit is contained in:
parent
1ac5696e7f
commit
f76eeaeea1
@ -192,7 +192,10 @@ class SensorDeviceClass(StrEnum):
|
|||||||
|
|
||||||
# weight/mass (g, kg, mg, µg, oz, lb)
|
# weight/mass (g, kg, mg, µg, oz, lb)
|
||||||
WEIGHT = "weight"
|
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))
|
DEVICE_CLASSES_SCHEMA: Final = vol.All(vol.Lower, vol.Coerce(SensorDeviceClass))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user