From 105171af31e5b5d70cbc0b9c18fb8ef2d24caffa Mon Sep 17 00:00:00 2001 From: Joakim Plate Date: Mon, 8 Jan 2024 20:10:55 +0100 Subject: [PATCH] Add deprecated constants --- homeassistant/const.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/homeassistant/const.py b/homeassistant/const.py index f36298061dc..dc29db12aa5 100644 --- a/homeassistant/const.py +++ b/homeassistant/const.py @@ -1055,7 +1055,16 @@ _DEPRECATED_VOLUME_FLOW_RATE_CUBIC_FEET_PER_MINUTE: Final = DeprecatedConstantEn "2025.1", ) """Deprecated: please use UnitOfVolumeFlowRate.CUBIC_FEET_PER_MINUTE""" - +_DEPRECATED_VOLUME_FLOW_RATE_LITERS_PER_MINUTE: Final = DeprecatedConstantEnum( + UnitOfVolumeFlowRate.LITERS_PER_MINUTE, + "2025.1", +) +"""Deprecated: please use UnitOfVolumeFlowRate.LITERS_PER_MINUTE""" +_DEPRECATED_VOLUME_FLOW_RATE_GALLONS_PER_MINUTE: Final = DeprecatedConstantEnum( + UnitOfVolumeFlowRate.GALLONS_PER_MINUTE, + "2025.1", +) +"""Deprecated: please use UnitOfVolumeFlowRate.GALLONS_PER_MINUTE""" # Area units AREA_SQUARE_METERS: Final = "m²"