mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 21:25:13 +02:00
Deprecate SUPPORT_* constants in cover (#69484)
This commit is contained in:
@@ -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(
|
||||
|
Reference in New Issue
Block a user