mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 05:05:09 +02:00
Remove the usage of HA core unit constant in withings own unit definitions (#85942)
This commit is contained in:
@@ -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"
|
||||||
|
Reference in New Issue
Block a user