Deprecate SUPPORT_* constants in camera (#69481)
parent
4298f83b93
commit
f0a021d255
|
@ -37,6 +37,12 @@ _OBSOLETE_IMPORT: dict[str, list[ObsoleteImportMatch]] = {
|
|||
constant=re.compile(r"^DEVICE_CLASS_(\w*)$"),
|
||||
),
|
||||
],
|
||||
"homeassistant.components.camera": [
|
||||
ObsoleteImportMatch(
|
||||
reason="replaced by CameraEntityFeature enum",
|
||||
constant=re.compile(r"^SUPPORT_(\w*)$"),
|
||||
),
|
||||
],
|
||||
"homeassistant.components.climate": [
|
||||
ObsoleteImportMatch(
|
||||
reason="replaced by ClimateEntityFeature enum",
|
||||
|
|
Loading…
Reference in New Issue