Skip to content

Commit

Permalink
Deprecate LightEntityFeature light constants (home-assistant#69301)
Browse files Browse the repository at this point in the history
  • Loading branch information
epenet authored Apr 30, 2022
1 parent 72bc4c5 commit 802c4c0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pylint/plugins/hass_imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,10 @@ class ObsoleteImportMatch:
reason="replaced by ColorMode enum",
constant=re.compile(r"^COLOR_MODE_(\w*)$"),
),
ObsoleteImportMatch(
reason="replaced by LightEntityFeature enum",
constant=re.compile("^SUPPORT_(EFFECT|FLASH|TRANSITION)$"),
),
],
"homeassistant.components.media_player": [
ObsoleteImportMatch(
Expand Down

0 comments on commit 802c4c0

Please sign in to comment.