mirror of
https://github.com/home-assistant/core.git
synced 2025-08-01 11:45:09 +02:00
Avoid raw string in device_tracker source_type (#126601)
This commit is contained in:
@@ -1318,7 +1318,7 @@ _INHERITANCE_MATCH: dict[str, list[ClassTypeHintMatch]] = {
|
||||
),
|
||||
TypeHintMatch(
|
||||
function_name="source_type",
|
||||
return_type=["SourceType", "str"],
|
||||
return_type="SourceType",
|
||||
),
|
||||
],
|
||||
),
|
||||
|
Reference in New Issue
Block a user