mirror of
https://github.com/home-assistant/core.git
synced 2025-07-09 22:37:11 +00:00
Add missing entry for SOURCE_TYPE_*
to hass-imports plugin (#76829)
This commit is contained in:
parent
91005f4694
commit
93630cf1f8
@ -108,6 +108,18 @@ _OBSOLETE_IMPORT: dict[str, list[ObsoleteImportMatch]] = {
|
|||||||
constant=re.compile(r"^SUPPORT_(\w*)$"),
|
constant=re.compile(r"^SUPPORT_(\w*)$"),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
"homeassistant.components.device_tracker": [
|
||||||
|
ObsoleteImportMatch(
|
||||||
|
reason="replaced by SourceType enum",
|
||||||
|
constant=re.compile(r"^SOURCE_TYPE_\w+$")
|
||||||
|
),
|
||||||
|
],
|
||||||
|
"homeassistant.components.device_tracker.const": [
|
||||||
|
ObsoleteImportMatch(
|
||||||
|
reason="replaced by SourceType enum",
|
||||||
|
constant=re.compile(r"^SOURCE_TYPE_\w+$")
|
||||||
|
),
|
||||||
|
],
|
||||||
"homeassistant.components.fan": [
|
"homeassistant.components.fan": [
|
||||||
ObsoleteImportMatch(
|
ObsoleteImportMatch(
|
||||||
reason="replaced by FanEntityFeature enum",
|
reason="replaced by FanEntityFeature enum",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user