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:
@@ -698,6 +698,7 @@ _ENTITY_MATCH: list[TypeHintMatch] = [
|
||||
TypeHintMatch(
|
||||
function_name="device_info",
|
||||
return_type=["DeviceInfo", None],
|
||||
mandatory=True,
|
||||
),
|
||||
TypeHintMatch(
|
||||
function_name="device_class",
|
||||
|
||||
Reference in New Issue
Block a user