mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 01:37:08 +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",
|
||||
constant=re.compile(r"^DEVICE_CLASS_(\w*)$"),
|
||||
),
|
||||
ObsoleteImportMatch(
|
||||
reason="replaced by HumidifierEntityFeature enum",
|
||||
constant=re.compile(r"^SUPPORT_(\w*)$"),
|
||||
),
|
||||
],
|
||||
"homeassistant.components.humidifier.const": [
|
||||
ObsoleteImportMatch(
|
||||
reason="replaced by HumidifierDeviceClass enum",
|
||||
constant=re.compile(r"^DEVICE_CLASS_(\w*)$"),
|
||||
),
|
||||
ObsoleteImportMatch(
|
||||
reason="replaced by HumidifierEntityFeature enum",
|
||||
constant=re.compile(r"^SUPPORT_(\w*)$"),
|
||||
),
|
||||
],
|
||||
"homeassistant.components.lock": [
|
||||
ObsoleteImportMatch(
|
||||
|
Loading…
x
Reference in New Issue
Block a user