Add missing entry for `SOURCE_TYPE_*` to hass-imports plugin (#76829)
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…
Reference in New Issue