From 7546e8efa4ac7e34169bbd8cc01b6e106dc9504b Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Fri, 12 May 2023 14:34:29 +0200 Subject: [PATCH] Remove stale comment from sensor.const (#92974) --- homeassistant/components/sensor/const.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/homeassistant/components/sensor/const.py b/homeassistant/components/sensor/const.py index e829c8a8e49..4764de52750 100644 --- a/homeassistant/components/sensor/const.py +++ b/homeassistant/components/sensor/const.py @@ -443,8 +443,6 @@ STATE_CLASS_TOTAL: Final = "total" STATE_CLASS_TOTAL_INCREASING: Final = "total_increasing" STATE_CLASSES: Final[list[str]] = [cls.value for cls in SensorStateClass] -# Note: this needs to be aligned with frontend: OVERRIDE_SENSOR_UNITS in -# `entity-registry-settings.ts` UNIT_CONVERTERS: dict[SensorDeviceClass | str | None, type[BaseUnitConverter]] = { SensorDeviceClass.ATMOSPHERIC_PRESSURE: PressureConverter, SensorDeviceClass.CURRENT: ElectricCurrentConverter,