Deprecate SUPPORT_* constants in fan (#69514)
This commit is contained in:
parent
6dc72ebf6c
commit
15348965f3
1 changed files with 6 additions and 0 deletions
|
@ -31,6 +31,12 @@ _OBSOLETE_IMPORT: dict[str, list[ObsoleteImportMatch]] = {
|
|||
constant=re.compile(r"^DEVICE_CLASS_(\w*)$"),
|
||||
),
|
||||
],
|
||||
"homeassistant.components.fan": [
|
||||
ObsoleteImportMatch(
|
||||
reason="replaced by FanEntityFeature enum",
|
||||
constant=re.compile(r"^SUPPORT_(\w*)$"),
|
||||
),
|
||||
],
|
||||
"homeassistant.components.humidifier": [
|
||||
ObsoleteImportMatch(
|
||||
reason="replaced by HumidifierDeviceClass enum",
|
||||
|
|
Loading…
Add table
Reference in a new issue