Skip to content

Commit

Permalink
Remove stale comment from sensor.const (#92974)
Browse files Browse the repository at this point in the history
  • Loading branch information
emontnemery committed May 12, 2023
1 parent b4e85b7 commit 7546e8e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions homeassistant/components/sensor/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,8 +443,6 @@ class SensorStateClass(StrEnum):
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,
Expand Down

0 comments on commit 7546e8e

Please sign in to comment.