Raise issue for deprecated imperial unit system (#130979)

This commit is contained in:
G Johansson
2024-12-13 10:05:46 +01:00
committed by GitHub
parent 8b579d83ce
commit 8cde404997
5 changed files with 91 additions and 3 deletions

View File

@ -233,7 +233,6 @@ def _deprecated_unit_system(value: str) -> str:
"""Convert deprecated unit system."""
if value == _CONF_UNIT_SYSTEM_IMPERIAL:
# need to add warning in 2023.1
return _CONF_UNIT_SYSTEM_US_CUSTOMARY
return value