mirror of
https://github.com/home-assistant/core.git
synced 2025-04-19 14:57:52 +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",
|
||||
constant=re.compile(r"^DEVICE_CLASS_(\w*)$"),
|
||||
),
|
||||
ObsoleteImportMatch(
|
||||
reason="replaced by CoverEntityFeature enum",
|
||||
constant=re.compile(r"^SUPPORT_(\w*)$"),
|
||||
),
|
||||
],
|
||||
"homeassistant.components.fan": [
|
||||
ObsoleteImportMatch(
|
||||
|
Loading…
x
Reference in New Issue
Block a user