mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 10:47:10 +00:00
Deprecate SUPPORT_* constants in remote (#69515)
This commit is contained in:
parent
d33fbbfb6d
commit
d614ccd161
@ -49,6 +49,12 @@ _OBSOLETE_IMPORT: dict[str, list[ObsoleteImportMatch]] = {
|
|||||||
constant=re.compile(r"^DEVICE_CLASS_(\w*)$"),
|
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": [
|
"homeassistant.components.sensor": [
|
||||||
ObsoleteImportMatch(
|
ObsoleteImportMatch(
|
||||||
reason="replaced by SensorDeviceClass enum",
|
reason="replaced by SensorDeviceClass enum",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user