diff --git a/pylint/plugins/hass_imports.py b/pylint/plugins/hass_imports.py index abf8aa852b09..6ff2d2af601c 100644 --- a/pylint/plugins/hass_imports.py +++ b/pylint/plugins/hass_imports.py @@ -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",