mirror of
https://github.com/home-assistant/core
synced 2024-10-01 05:30:36 +02: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*)$"),
|
||||
),
|
||||
],
|
||||
"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…
Reference in New Issue
Block a user