mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Pass device entry to async_get_device_diagnostics instead of device_id (#64501)
This commit is contained in:
parent
917b84f4d9
commit
24c733b271
@ -208,5 +208,5 @@ class DownloadDiagnosticsView(http.HomeAssistantView):
|
||||
if info[sub_type.value] is None:
|
||||
return web.Response(status=HTTPStatus.NOT_FOUND)
|
||||
|
||||
data = await info[sub_type.value](hass, config_entry, sub_id)
|
||||
data = await info[sub_type.value](hass, config_entry, device)
|
||||
return _get_json_file_response(data, filename, d_type, d_id, sub_type, sub_id)
|
||||
|
Loading…
x
Reference in New Issue
Block a user