mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Deprecate SUPPORT_* constants in water-heater (#69512)
This commit is contained in:
parent
4a0e00d939
commit
381e669b64
@ -77,6 +77,12 @@ _OBSOLETE_IMPORT: dict[str, list[ObsoleteImportMatch]] = {
|
|||||||
constant=re.compile(r"^DEVICE_CLASS_(\w*)$"),
|
constant=re.compile(r"^DEVICE_CLASS_(\w*)$"),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
"homeassistant.components.water_heater": [
|
||||||
|
ObsoleteImportMatch(
|
||||||
|
reason="replaced by WaterHeaterEntityFeature enum",
|
||||||
|
constant=re.compile(r"^SUPPORT_(\w*)$"),
|
||||||
|
),
|
||||||
|
],
|
||||||
"homeassistant.config_entries": [
|
"homeassistant.config_entries": [
|
||||||
ObsoleteImportMatch(
|
ObsoleteImportMatch(
|
||||||
reason="replaced by ConfigEntryDisabler enum",
|
reason="replaced by ConfigEntryDisabler enum",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user