diff --git a/pylint/plugins/hass_imports.py b/pylint/plugins/hass_imports.py index ae9961b49dd..afbd930ec30 100644 --- a/pylint/plugins/hass_imports.py +++ b/pylint/plugins/hass_imports.py @@ -68,6 +68,10 @@ _OBSOLETE_IMPORT: dict[str, list[ObsoleteImportMatch]] = { ), ], "homeassistant.components.climate.const": [ + ObsoleteImportMatch( + reason="replaced by HVACAction enum", + constant=re.compile(r"^CURRENT_HVAC_(\w*)$"), + ), ObsoleteImportMatch( reason="replaced by ClimateEntityFeature enum", constant=re.compile(r"^SUPPORT_(\w*)$"),