From 3d4b1fb689584ad9e8298e8596ceb3a78240ea43 Mon Sep 17 00:00:00 2001 From: Michael <35783820+mib1185@users.noreply.github.com> Date: Mon, 16 Jan 2023 20:00:58 +0100 Subject: [PATCH] Remove the usage of HA core unit constant in withings own unit definitions (#85942) --- homeassistant/components/withings/const.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/homeassistant/components/withings/const.py b/homeassistant/components/withings/const.py index 20ad91f16cf..1193b6f612a 100644 --- a/homeassistant/components/withings/const.py +++ b/homeassistant/components/withings/const.py @@ -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"