mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Deprecate SUPPORT_* constants in media_player (#69518)
This commit is contained in:
parent
6feeece574
commit
5b6cb6bffd
@ -80,6 +80,16 @@ _OBSOLETE_IMPORT: dict[str, list[ObsoleteImportMatch]] = {
|
|||||||
reason="replaced by MediaPlayerDeviceClass enum",
|
reason="replaced by MediaPlayerDeviceClass enum",
|
||||||
constant=re.compile(r"^DEVICE_CLASS_(\w*)$"),
|
constant=re.compile(r"^DEVICE_CLASS_(\w*)$"),
|
||||||
),
|
),
|
||||||
|
ObsoleteImportMatch(
|
||||||
|
reason="replaced by MediaPlayerEntityFeature enum",
|
||||||
|
constant=re.compile(r"^SUPPORT_(\w*)$"),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
"homeassistant.components.media_player.const": [
|
||||||
|
ObsoleteImportMatch(
|
||||||
|
reason="replaced by MediaPlayerEntityFeature enum",
|
||||||
|
constant=re.compile(r"^SUPPORT_(\w*)$"),
|
||||||
|
),
|
||||||
],
|
],
|
||||||
"homeassistant.components.remote": [
|
"homeassistant.components.remote": [
|
||||||
ObsoleteImportMatch(
|
ObsoleteImportMatch(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user