Deprecate SUPPORT_* constants in lock (#69513)
This commit is contained in:
parent
bbf19582bb
commit
3c57adefdb
1 changed files with 6 additions and 0 deletions
|
@ -43,6 +43,12 @@ _OBSOLETE_IMPORT: dict[str, list[ObsoleteImportMatch]] = {
|
|||
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": [
|
||||
ObsoleteImportMatch(
|
||||
reason="replaced by MediaPlayerDeviceClass enum",
|
||||
|
|
Loading…
Add table
Reference in a new issue