Deprecating unit conversion utilities
· One min read
As of Home Assistant Core 2022.10, the following utilities are deprecated:
homeassistant/util/distance
homeassistant/util/pressure
homeassistant/util/speed
homeassistant/util/temperature
homeassistant/util/volume
Please use the corresponding static classes from homeassistant/util/unit_conversion
:
DistanceConverter
PressureConverter
SpeedConverter
TemperatureConverter
VolumeConverter