Removal of deprecated unit conversion utilities
· One min read
The following utilities were deprecated in Home Assistant 2022.10) and have now been removed as of 2023.11:
homeassistant/util/distancehomeassistant/util/pressurehomeassistant/util/speedhomeassistant/util/temperaturehomeassistant/util/volume
Please use the corresponding static classes from homeassistant/util/unit_conversion:
DistanceConverterPressureConverterSpeedConverterTemperatureConverterVolumeConverter
The deprecated functions were already unused within the built-in Home Assistant integrations, and community integrations using them should have seen warnings for the past 12 months. Attempting to import the original utilities will now result in an error.