mirror of
https://github.com/home-assistant/core.git
synced 2026-04-02 00:20:30 +01:00
Mark entity icon type hints as mandatory (#163617)
This commit is contained in:
@@ -711,6 +711,7 @@ _ENTITY_MATCH: list[TypeHintMatch] = [
|
||||
TypeHintMatch(
|
||||
function_name="icon",
|
||||
return_type=["str", None],
|
||||
mandatory=True,
|
||||
),
|
||||
TypeHintMatch(
|
||||
function_name="entity_picture",
|
||||
|
||||
Reference in New Issue
Block a user