diff --git a/pylint/plugins/hass_imports.py b/pylint/plugins/hass_imports.py index ad068162de1..1722710768e 100644 --- a/pylint/plugins/hass_imports.py +++ b/pylint/plugins/hass_imports.py @@ -165,6 +165,12 @@ _OBSOLETE_IMPORT: dict[str, list[ObsoleteImportMatch]] = { constant=re.compile(r"^DEVICE_CLASS_(\w*)$"), ), ], + "homeassistant.components.vacuum": [ + ObsoleteImportMatch( + reason="replaced by VacuumEntityFeature enum", + constant=re.compile(r"^SUPPORT_(\w*)$"), + ), + ], "homeassistant.components.water_heater": [ ObsoleteImportMatch( reason="replaced by WaterHeaterEntityFeature enum",