mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 07:07:28 +00:00
Deprecate SUPPORT_* constants in siren (#69648)
This commit is contained in:
parent
2ad096733a
commit
fa13a243d4
@ -129,6 +129,18 @@ _OBSOLETE_IMPORT: dict[str, list[ObsoleteImportMatch]] = {
|
|||||||
constant=re.compile(r"^STATE_CLASS_(\w*)$"),
|
constant=re.compile(r"^STATE_CLASS_(\w*)$"),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
"homeassistant.components.siren": [
|
||||||
|
ObsoleteImportMatch(
|
||||||
|
reason="replaced by SirenEntityFeature enum",
|
||||||
|
constant=re.compile(r"^SUPPORT_(\w*)$"),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
"homeassistant.components.siren.const": [
|
||||||
|
ObsoleteImportMatch(
|
||||||
|
reason="replaced by SirenEntityFeature enum",
|
||||||
|
constant=re.compile(r"^SUPPORT_(\w*)$"),
|
||||||
|
),
|
||||||
|
],
|
||||||
"homeassistant.components.switch": [
|
"homeassistant.components.switch": [
|
||||||
ObsoleteImportMatch(
|
ObsoleteImportMatch(
|
||||||
reason="replaced by SwitchDeviceClass enum",
|
reason="replaced by SwitchDeviceClass enum",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user