diff --git a/homeassistant/util/distance.py b/homeassistant/util/distance.py index f5dbeaf42d54..719379d4c611 100644 --- a/homeassistant/util/distance.py +++ b/homeassistant/util/distance.py @@ -48,7 +48,7 @@ def convert(value: float, from_unit: str, to_unit: str) -> float: """Convert one unit of measurement to another.""" report( "uses distance utility. This is deprecated since 2022.10 and will " - "stop working in Home Assistant 2022.4, it should be updated to use " + "stop working in Home Assistant 2023.4, it should be updated to use " "unit_conversion.DistanceConverter instead", error_if_core=False, ) diff --git a/homeassistant/util/pressure.py b/homeassistant/util/pressure.py index 2a8e20ed025f..d6d0c79741f8 100644 --- a/homeassistant/util/pressure.py +++ b/homeassistant/util/pressure.py @@ -27,7 +27,7 @@ def convert(value: float, from_unit: str, to_unit: str) -> float: """Convert one unit of measurement to another.""" report( "uses pressure utility. This is deprecated since 2022.10 and will " - "stop working in Home Assistant 2022.4, it should be updated to use " + "stop working in Home Assistant 2023.4, it should be updated to use " "unit_conversion.PressureConverter instead", error_if_core=False, ) diff --git a/homeassistant/util/speed.py b/homeassistant/util/speed.py index 76ea873d7fec..f531e2d78f72 100644 --- a/homeassistant/util/speed.py +++ b/homeassistant/util/speed.py @@ -34,7 +34,7 @@ def convert(value: float, from_unit: str, to_unit: str) -> float: """Convert one unit of measurement to another.""" report( "uses speed utility. This is deprecated since 2022.10 and will " - "stop working in Home Assistant 2022.4, it should be updated to use " + "stop working in Home Assistant 2023.4, it should be updated to use " "unit_conversion.SpeedConverter instead", error_if_core=False, ) diff --git a/homeassistant/util/temperature.py b/homeassistant/util/temperature.py index 9173fbc5eeeb..0c2608eb4b54 100644 --- a/homeassistant/util/temperature.py +++ b/homeassistant/util/temperature.py @@ -39,7 +39,7 @@ def convert( """Convert a temperature from one unit to another.""" report( "uses temperature utility. This is deprecated since 2022.10 and will " - "stop working in Home Assistant 2022.4, it should be updated to use " + "stop working in Home Assistant 2023.4, it should be updated to use " "unit_conversion.TemperatureConverter instead", error_if_core=False, ) diff --git a/homeassistant/util/volume.py b/homeassistant/util/volume.py index b468b9e6e0d3..e21cebd29827 100644 --- a/homeassistant/util/volume.py +++ b/homeassistant/util/volume.py @@ -42,7 +42,7 @@ def convert(volume: float, from_unit: str, to_unit: str) -> float: """Convert a volume from one unit to another.""" report( "uses volume utility. This is deprecated since 2022.10 and will " - "stop working in Home Assistant 2022.4, it should be updated to use " + "stop working in Home Assistant 2023.4, it should be updated to use " "unit_conversion.VolumeConverter instead", error_if_core=False, )