Deprecate COLOR_MODE_* light constants (#69302)
This commit is contained in:
parent
34da029d48
commit
7894326270
1 changed files with 6 additions and 0 deletions
|
@ -115,6 +115,12 @@ _OBSOLETE_IMPORT: dict[str, list[ObsoleteImportMatch]] = {
|
|||
constant=re.compile(r"^SUPPORT_(\w*)$"),
|
||||
),
|
||||
],
|
||||
"homeassistant.components.light": [
|
||||
ObsoleteImportMatch(
|
||||
reason="replaced by ColorMode enum",
|
||||
constant=re.compile(r"^COLOR_MODE_(\w*)$"),
|
||||
),
|
||||
],
|
||||
"homeassistant.components.media_player": [
|
||||
ObsoleteImportMatch(
|
||||
reason="replaced by MediaPlayerDeviceClass enum",
|
||||
|
|
Loading…
Add table
Reference in a new issue