From 7635cafd47126b213e260dcd904631685883a4be Mon Sep 17 00:00:00 2001 From: epenet <6771947+epenet@users.noreply.github.com> Date: Thu, 7 Apr 2022 23:27:55 +0200 Subject: [PATCH] Deprecate SUPPORT_* constants in cover (#69484) --- pylint/plugins/hass_imports.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pylint/plugins/hass_imports.py b/pylint/plugins/hass_imports.py index 94c3b5b1ee7..4db5620ae0f 100644 --- a/pylint/plugins/hass_imports.py +++ b/pylint/plugins/hass_imports.py @@ -42,6 +42,10 @@ _OBSOLETE_IMPORT: dict[str, list[ObsoleteImportMatch]] = { reason="replaced by CoverDeviceClass enum", constant=re.compile(r"^DEVICE_CLASS_(\w*)$"), ), + ObsoleteImportMatch( + reason="replaced by CoverEntityFeature enum", + constant=re.compile(r"^SUPPORT_(\w*)$"), + ), ], "homeassistant.components.fan": [ ObsoleteImportMatch(