mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Deprecate SUPPORT_* constants in lock (#69513)
This commit is contained in:
parent
bbf19582bb
commit
3c57adefdb
@ -43,6 +43,12 @@ _OBSOLETE_IMPORT: dict[str, list[ObsoleteImportMatch]] = {
|
|||||||
constant=re.compile(r"^DEVICE_CLASS_(\w*)$"),
|
constant=re.compile(r"^DEVICE_CLASS_(\w*)$"),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
"homeassistant.components.lock": [
|
||||||
|
ObsoleteImportMatch(
|
||||||
|
reason="replaced by LockEntityFeature enum",
|
||||||
|
constant=re.compile(r"^SUPPORT_(\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