mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 14:17:45 +00:00
Deprecate SUPPORT_* constants in cover (#69484)
This commit is contained in:
parent
5b6cb6bffd
commit
7635cafd47
@ -42,6 +42,10 @@ _OBSOLETE_IMPORT: dict[str, list[ObsoleteImportMatch]] = {
|
|||||||
reason="replaced by CoverDeviceClass enum",
|
reason="replaced by CoverDeviceClass enum",
|
||||||
constant=re.compile(r"^DEVICE_CLASS_(\w*)$"),
|
constant=re.compile(r"^DEVICE_CLASS_(\w*)$"),
|
||||||
),
|
),
|
||||||
|
ObsoleteImportMatch(
|
||||||
|
reason="replaced by CoverEntityFeature enum",
|
||||||
|
constant=re.compile(r"^SUPPORT_(\w*)$"),
|
||||||
|
),
|
||||||
],
|
],
|
||||||
"homeassistant.components.fan": [
|
"homeassistant.components.fan": [
|
||||||
ObsoleteImportMatch(
|
ObsoleteImportMatch(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user