diff --git a/pylint/plugins/hass_imports.py b/pylint/plugins/hass_imports.py index 4db5620ae0f..5b044866bfc 100644 --- a/pylint/plugins/hass_imports.py +++ b/pylint/plugins/hass_imports.py @@ -19,6 +19,18 @@ class ObsoleteImportMatch: _OBSOLETE_IMPORT: dict[str, list[ObsoleteImportMatch]] = { + "homeassistant.components.alarm_control_panel": [ + ObsoleteImportMatch( + reason="replaced by AlarmControlPanelEntityFeature enum", + constant=re.compile(r"^SUPPORT_(\w*)$"), + ), + ], + "homeassistant.components.alarm_control_panel.const": [ + ObsoleteImportMatch( + reason="replaced by AlarmControlPanelEntityFeature enum", + constant=re.compile(r"^SUPPORT_(\w*)$"), + ), + ], "homeassistant.components.binarysensor": [ ObsoleteImportMatch( reason="replaced by BinarySensorDeviceClass enum",