mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Deprecate SUPPORT_* constants in vacuum (#69516)
This commit is contained in:
parent
c6267d54ea
commit
34da029d48
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user