1
0
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:
epenet
2026-02-20 22:48:56 +01:00
committed by GitHub
parent aa2bb44f0e
commit a791797a6f

View File

@@ -711,6 +711,7 @@ _ENTITY_MATCH: list[TypeHintMatch] = [
TypeHintMatch(
function_name="icon",
return_type=["str", None],
mandatory=True,
),
TypeHintMatch(
function_name="entity_picture",