Add notify get_service to pylint checks (#77643)

Add notify get_service to pylint checks (take 3)
This commit is contained in:
epenet
2022-09-06 12:18:15 +02:00
committed by GitHub
parent 3327493ab7
commit 03b4d25564

View File

@@ -379,6 +379,18 @@ _FUNCTION_MATCH: dict[str, list[TypeHintMatch]] = {
return_type=_Special.UNDEFINED,
),
],
"notify": [
TypeHintMatch(
function_name="get_service",
arg_types={
0: "HomeAssistant",
1: "ConfigType",
2: "DiscoveryInfoType | None",
},
return_type=_Special.UNDEFINED,
has_async_counterpart=True,
),
],
}
_CLASS_MATCH: dict[str, list[ClassTypeHintMatch]] = {