Add missing entry for SOURCE_TYPE_*
to hass-imports plugin (#76829)
This commit is contained in:
parent
91005f4694
commit
93630cf1f8
1 changed files with 12 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue