diff --git a/pylint/plugins/hass_imports.py b/pylint/plugins/hass_imports.py index d3d5e0b4a89..9c59b4cc010 100644 --- a/pylint/plugins/hass_imports.py +++ b/pylint/plugins/hass_imports.py @@ -25,6 +25,18 @@ _OBSOLETE_IMPORT: dict[str, list[ObsoleteImportMatch]] = { constant=re.compile(r"^DEVICE_CLASS_(\w*)$"), ), ], + "homeassistant.components.climate": [ + ObsoleteImportMatch( + reason="replaced by ClimateEntityFeature enum", + constant=re.compile(r"^SUPPORT_(\w*)$"), + ), + ], + "homeassistant.components.climate.const": [ + ObsoleteImportMatch( + reason="replaced by ClimateEntityFeature enum", + constant=re.compile(r"^SUPPORT_(\w*)$"), + ), + ], "homeassistant.components.cover": [ ObsoleteImportMatch( reason="replaced by CoverDeviceClass enum",