mirror of
https://github.com/home-assistant/core.git
synced 2025-04-25 01:38:02 +00:00
Deprecate LightEntityFeature light constants (#69301)
This commit is contained in:
parent
72bc4c5ee9
commit
802c4c0d42
@ -120,6 +120,10 @@ _OBSOLETE_IMPORT: dict[str, list[ObsoleteImportMatch]] = {
|
|||||||
reason="replaced by ColorMode enum",
|
reason="replaced by ColorMode enum",
|
||||||
constant=re.compile(r"^COLOR_MODE_(\w*)$"),
|
constant=re.compile(r"^COLOR_MODE_(\w*)$"),
|
||||||
),
|
),
|
||||||
|
ObsoleteImportMatch(
|
||||||
|
reason="replaced by LightEntityFeature enum",
|
||||||
|
constant=re.compile("^SUPPORT_(EFFECT|FLASH|TRANSITION)$"),
|
||||||
|
),
|
||||||
],
|
],
|
||||||
"homeassistant.components.media_player": [
|
"homeassistant.components.media_player": [
|
||||||
ObsoleteImportMatch(
|
ObsoleteImportMatch(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user