mirror of
https://github.com/home-assistant/core.git
synced 2026-08-24 10:13:52 -05:00
Update home-assistant-return-type with ChildDeviceInfo from device_info (#179359)
This commit is contained in:
@@ -626,7 +626,7 @@ _ENTITY_MATCH: list[TypeHintMatch] = [
|
||||
),
|
||||
TypeHintMatch(
|
||||
function_name="device_info",
|
||||
return_type=["DeviceInfo", None],
|
||||
return_type=["DeviceInfo", "ChildDeviceInfo", None],
|
||||
mandatory=True,
|
||||
),
|
||||
TypeHintMatch(
|
||||
|
||||
Reference in New Issue
Block a user