mirror of
https://github.com/home-assistant/core.git
synced 2025-04-25 01:38:02 +00:00
Deprecate SUPPORT_* constants in fan (#69514)
This commit is contained in:
parent
6dc72ebf6c
commit
15348965f3
@ -31,6 +31,12 @@ _OBSOLETE_IMPORT: dict[str, list[ObsoleteImportMatch]] = {
|
|||||||
constant=re.compile(r"^DEVICE_CLASS_(\w*)$"),
|
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": [
|
"homeassistant.components.humidifier": [
|
||||||
ObsoleteImportMatch(
|
ObsoleteImportMatch(
|
||||||
reason="replaced by HumidifierDeviceClass enum",
|
reason="replaced by HumidifierDeviceClass enum",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user