mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Deprecate COLOR_MODE_* light constants (#69302)
This commit is contained in:
parent
34da029d48
commit
7894326270
@ -115,6 +115,12 @@ _OBSOLETE_IMPORT: dict[str, list[ObsoleteImportMatch]] = {
|
|||||||
constant=re.compile(r"^SUPPORT_(\w*)$"),
|
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": [
|
"homeassistant.components.media_player": [
|
||||||
ObsoleteImportMatch(
|
ObsoleteImportMatch(
|
||||||
reason="replaced by MediaPlayerDeviceClass enum",
|
reason="replaced by MediaPlayerDeviceClass enum",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user