mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 20:55:10 +02:00
Deprecate SUPPORT_* constants in vacuum (#69516)
This commit is contained in:
@@ -165,6 +165,12 @@ _OBSOLETE_IMPORT: dict[str, list[ObsoleteImportMatch]] = {
|
||||
constant=re.compile(r"^DEVICE_CLASS_(\w*)$"),
|
||||
),
|
||||
],
|
||||
"homeassistant.components.vacuum": [
|
||||
ObsoleteImportMatch(
|
||||
reason="replaced by VacuumEntityFeature enum",
|
||||
constant=re.compile(r"^SUPPORT_(\w*)$"),
|
||||
),
|
||||
],
|
||||
"homeassistant.components.water_heater": [
|
||||
ObsoleteImportMatch(
|
||||
reason="replaced by WaterHeaterEntityFeature enum",
|
||||
|
Reference in New Issue
Block a user