mirror of
https://github.com/home-assistant/core.git
synced 2025-07-30 18:58:04 +02:00
Add missing entry for SOURCE_TYPE_*
to hass-imports plugin (#76829)
This commit is contained in:
@ -108,6 +108,18 @@ _OBSOLETE_IMPORT: dict[str, list[ObsoleteImportMatch]] = {
|
||||
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": [
|
||||
ObsoleteImportMatch(
|
||||
reason="replaced by FanEntityFeature enum",
|
||||
|
Reference in New Issue
Block a user