mirror of
https://github.com/home-assistant/core.git
synced 2025-07-29 18:28:14 +02:00
Raise issue for deprecated imperial unit system (#130979)
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user