diff --git a/pylint/plugins/hass_imports.py b/pylint/plugins/hass_imports.py index a45e2c91996..0a0d9c8c7b1 100644 --- a/pylint/plugins/hass_imports.py +++ b/pylint/plugins/hass_imports.py @@ -157,6 +157,10 @@ _OBSOLETE_IMPORT: dict[str, list[ObsoleteImportMatch]] = { reason="replaced by ColorMode enum", constant=re.compile(r"^COLOR_MODE_(\w*)$"), ), + ObsoleteImportMatch( + reason="replaced by color modes", + constant=re.compile("^SUPPORT_(BRIGHTNESS|COLOR_TEMP|COLOR)$"), + ), ObsoleteImportMatch( reason="replaced by LightEntityFeature enum", constant=re.compile("^SUPPORT_(EFFECT|FLASH|TRANSITION)$"),