Remove the usage of HA core unit constant in withings own unit definitions (#85942)

This commit is contained in:
Michael 2023-01-16 20:00:58 +01:00 committed by GitHub
parent a35a4efaaa
commit 3d4b1fb689
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,4 @@
"""Constants used by the Withings component."""
from homeassistant import const
from homeassistant.backports.enum import StrEnum
CONF_PROFILES = "profiles"
@ -55,6 +54,6 @@ class Measurement(StrEnum):
SCORE_POINTS = "points"
UOM_BEATS_PER_MINUTE = "bpm"
UOM_BREATHS_PER_MINUTE = f"br/{const.TIME_MINUTES}"
UOM_BREATHS_PER_MINUTE = "br/min"
UOM_FREQUENCY = "times"
UOM_MMHG = "mmhg"