mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Add blood glucose concentration device class (#129340)
This commit is contained in:
@@ -1358,6 +1358,13 @@ CONCENTRATION_PARTS_PER_MILLION: Final = "ppm"
|
||||
CONCENTRATION_PARTS_PER_BILLION: Final = "ppb"
|
||||
|
||||
|
||||
class UnitOfBloodGlucoseConcentration(StrEnum):
|
||||
"""Blood glucose concentration units."""
|
||||
|
||||
MILLIGRAMS_PER_DECILITER = "mg/dL"
|
||||
MILLIMOLE_PER_LITER = "mmol/L"
|
||||
|
||||
|
||||
# Speed units
|
||||
class UnitOfSpeed(StrEnum):
|
||||
"""Speed units."""
|
||||
|
||||
Reference in New Issue
Block a user