Deprecate SUPPORT_* constants in water-heater (#69512)
This commit is contained in:
parent
4a0e00d939
commit
381e669b64
1 changed files with 6 additions and 0 deletions
|
@ -77,6 +77,12 @@ _OBSOLETE_IMPORT: dict[str, list[ObsoleteImportMatch]] = {
|
|||
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": [
|
||||
ObsoleteImportMatch(
|
||||
reason="replaced by ConfigEntryDisabler enum",
|
||||
|
|
Loading…
Add table
Reference in a new issue