mirror of
https://github.com/home-assistant/core.git
synced 2025-07-17 02:07:09 +00:00
Deprecate SUPPORT_* constants in camera (#69481)
This commit is contained in:
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…
x
Reference in New Issue
Block a user