1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Deprecate SUPPORT_* constants in water-heater (#69512)

This commit is contained in:
epenet
2022-04-07 15:33:09 +02:00
committed by GitHub
parent 4a0e00d939
commit 381e669b64

View File

@@ -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",