1
0
mirror of https://github.com/home-assistant/core.git synced 2026-04-02 08:26:41 +01:00

Mark device_info type hint as mandatory (#164951)

This commit is contained in:
epenet
2026-03-06 15:15:05 +01:00
committed by GitHub
parent 13d2211755
commit f19068f7de

View File

@@ -698,6 +698,7 @@ _ENTITY_MATCH: list[TypeHintMatch] = [
TypeHintMatch(
function_name="device_info",
return_type=["DeviceInfo", None],
mandatory=True,
),
TypeHintMatch(
function_name="device_class",