mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
Deprecate SUPPORT_* constants in humidifier (#69519)
This commit is contained in:
parent
381e669b64
commit
075c362fd7
@ -36,12 +36,20 @@ _OBSOLETE_IMPORT: dict[str, list[ObsoleteImportMatch]] = {
|
|||||||
reason="replaced by HumidifierDeviceClass enum",
|
reason="replaced by HumidifierDeviceClass enum",
|
||||||
constant=re.compile(r"^DEVICE_CLASS_(\w*)$"),
|
constant=re.compile(r"^DEVICE_CLASS_(\w*)$"),
|
||||||
),
|
),
|
||||||
|
ObsoleteImportMatch(
|
||||||
|
reason="replaced by HumidifierEntityFeature enum",
|
||||||
|
constant=re.compile(r"^SUPPORT_(\w*)$"),
|
||||||
|
),
|
||||||
],
|
],
|
||||||
"homeassistant.components.humidifier.const": [
|
"homeassistant.components.humidifier.const": [
|
||||||
ObsoleteImportMatch(
|
ObsoleteImportMatch(
|
||||||
reason="replaced by HumidifierDeviceClass enum",
|
reason="replaced by HumidifierDeviceClass enum",
|
||||||
constant=re.compile(r"^DEVICE_CLASS_(\w*)$"),
|
constant=re.compile(r"^DEVICE_CLASS_(\w*)$"),
|
||||||
),
|
),
|
||||||
|
ObsoleteImportMatch(
|
||||||
|
reason="replaced by HumidifierEntityFeature enum",
|
||||||
|
constant=re.compile(r"^SUPPORT_(\w*)$"),
|
||||||
|
),
|
||||||
],
|
],
|
||||||
"homeassistant.components.lock": [
|
"homeassistant.components.lock": [
|
||||||
ObsoleteImportMatch(
|
ObsoleteImportMatch(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user