Deprecate SUPPORT_* constants in remote (#69515)
This commit is contained in:
@@ -49,6 +49,12 @@ _OBSOLETE_IMPORT: dict[str, list[ObsoleteImportMatch]] = {
|
||||
constant=re.compile(r"^DEVICE_CLASS_(\w*)$"),
|
||||
),
|
||||
],
|
||||
"homeassistant.components.remote": [
|
||||
ObsoleteImportMatch(
|
||||
reason="replaced by RemoteEntityFeature enum",
|
||||
constant=re.compile(r"^SUPPORT_(\w*)$"),
|
||||
),
|
||||
],
|
||||
"homeassistant.components.sensor": [
|
||||
ObsoleteImportMatch(
|
||||
reason="replaced by SensorDeviceClass enum",
|
||||
|
||||
Reference in New Issue
Block a user