Deprecate LightEntityFeature light constants (#69301)
This commit is contained in:
parent
72bc4c5ee9
commit
802c4c0d42
1 changed files with 4 additions and 0 deletions
|
@ -120,6 +120,10 @@ _OBSOLETE_IMPORT: dict[str, list[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(
|
||||
|
|
Loading…
Add table
Reference in a new issue