mirror of
https://github.com/home-assistant/core
synced 2024-07-12 07:21:24 +02:00
Use Integration properties for custom integration listing in diagnostics (#64908)
This commit is contained in:
parent
cadf0ef60b
commit
cda2c73f2f
@ -143,8 +143,8 @@ async def _async_get_json_file_response(
|
||||
all_custom_components = await async_get_custom_components(hass)
|
||||
for cc_domain, cc_obj in all_custom_components.items():
|
||||
custom_components[cc_domain] = {
|
||||
"version": cc_obj.manifest["version"],
|
||||
"requirements": cc_obj.manifest["requirements"],
|
||||
"version": cc_obj.version,
|
||||
"requirements": cc_obj.requirements,
|
||||
}
|
||||
try:
|
||||
json_data = json.dumps(
|
||||
|
Loading…
Reference in New Issue
Block a user