From ceeb2a3166392f6dc7ee777c5d5ce0256b686885 Mon Sep 17 00:00:00 2001 From: epenet <6771947+epenet@users.noreply.github.com> Date: Mon, 10 Mar 2025 08:15:01 +0000 Subject: [PATCH] Mark type hint as compulsory for entity.assumed_state property --- pylint/plugins/hass_enforce_type_hints.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pylint/plugins/hass_enforce_type_hints.py b/pylint/plugins/hass_enforce_type_hints.py index fda8e795415..b35338e1f8d 100644 --- a/pylint/plugins/hass_enforce_type_hints.py +++ b/pylint/plugins/hass_enforce_type_hints.py @@ -670,6 +670,7 @@ _ENTITY_MATCH: list[TypeHintMatch] = [ TypeHintMatch( function_name="assumed_state", return_type="bool", + compulsory=True, ), TypeHintMatch( function_name="force_update",