mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Remove the usage of HA core unit constant in withings own unit definitions (#85942)
This commit is contained in:
parent
a35a4efaaa
commit
3d4b1fb689
@ -1,5 +1,4 @@
|
|||||||
"""Constants used by the Withings component."""
|
"""Constants used by the Withings component."""
|
||||||
from homeassistant import const
|
|
||||||
from homeassistant.backports.enum import StrEnum
|
from homeassistant.backports.enum import StrEnum
|
||||||
|
|
||||||
CONF_PROFILES = "profiles"
|
CONF_PROFILES = "profiles"
|
||||||
@ -55,6 +54,6 @@ class Measurement(StrEnum):
|
|||||||
|
|
||||||
SCORE_POINTS = "points"
|
SCORE_POINTS = "points"
|
||||||
UOM_BEATS_PER_MINUTE = "bpm"
|
UOM_BEATS_PER_MINUTE = "bpm"
|
||||||
UOM_BREATHS_PER_MINUTE = f"br/{const.TIME_MINUTES}"
|
UOM_BREATHS_PER_MINUTE = "br/min"
|
||||||
UOM_FREQUENCY = "times"
|
UOM_FREQUENCY = "times"
|
||||||
UOM_MMHG = "mmhg"
|
UOM_MMHG = "mmhg"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user