diff --git a/pylint/plugins/hass_enforce_type_hints.py b/pylint/plugins/hass_enforce_type_hints.py index 1cfb36f9398..80ec054159c 100644 --- a/pylint/plugins/hass_enforce_type_hints.py +++ b/pylint/plugins/hass_enforce_type_hints.py @@ -1816,6 +1816,20 @@ _INHERITANCE_MATCH: dict[str, list[ClassTypeHintMatch]] = { ], ), ], + "notify": [ + ClassTypeHintMatch( + base_class="BaseNotificationService", + matches=[ + TypeHintMatch( + function_name="send_message", + arg_types={1: "str"}, + kwargs_type="Any", + return_type=None, + has_async_counterpart=True, + ), + ], + ), + ], "number": [ ClassTypeHintMatch( base_class="Entity", @@ -1882,20 +1896,6 @@ _INHERITANCE_MATCH: dict[str, list[ClassTypeHintMatch]] = { ], ), ], - "notify": [ - ClassTypeHintMatch( - base_class="BaseNotificationService", - matches=[ - TypeHintMatch( - function_name="send_message", - arg_types={1: "str"}, - kwargs_type="Any", - return_type=None, - has_async_counterpart=True, - ), - ], - ), - ], "remote": [ ClassTypeHintMatch( base_class="Entity",