Changes to the UnitOfConductivity enum
· One min read
The UnitOfConductivity
enum has been changed from:
class UnitOfConductivity(StrEnum):
"""Conductivity units."""
SIEMENS = "S/cm"
MICROSIEMENS = "µS/cm"
MILLISIEMENS = "mS/cm"
To:
class UnitOfConductivity(StrEnum):
"""Conductivity units."""
SIEMENS_PER_CM = "S/cm"
MICROSIEMENS_PER_CM = "µS/cm"
MILLISIEMENS_PER_CM = "mS/cm"
The old enum members can be used during a deprecation period of one year, to give time for custom integrations to migrate to the new enum members.
See core PR #127919 for implementation details.