mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Deprecate SUPPORT_* constants in climate (#69482)
This commit is contained in:
parent
f4fb29200c
commit
6feeece574
@ -25,6 +25,18 @@ _OBSOLETE_IMPORT: dict[str, list[ObsoleteImportMatch]] = {
|
|||||||
constant=re.compile(r"^DEVICE_CLASS_(\w*)$"),
|
constant=re.compile(r"^DEVICE_CLASS_(\w*)$"),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
"homeassistant.components.climate": [
|
||||||
|
ObsoleteImportMatch(
|
||||||
|
reason="replaced by ClimateEntityFeature enum",
|
||||||
|
constant=re.compile(r"^SUPPORT_(\w*)$"),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
"homeassistant.components.climate.const": [
|
||||||
|
ObsoleteImportMatch(
|
||||||
|
reason="replaced by ClimateEntityFeature enum",
|
||||||
|
constant=re.compile(r"^SUPPORT_(\w*)$"),
|
||||||
|
),
|
||||||
|
],
|
||||||
"homeassistant.components.cover": [
|
"homeassistant.components.cover": [
|
||||||
ObsoleteImportMatch(
|
ObsoleteImportMatch(
|
||||||
reason="replaced by CoverDeviceClass enum",
|
reason="replaced by CoverDeviceClass enum",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user