1
0
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:
epenet
2024-11-09 11:29:24 +01:00
committed by GitHub
parent 0304588bb8
commit 25fb70f281
14 changed files with 100 additions and 3 deletions

View File

@@ -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."""