mirror of
https://github.com/home-assistant/core
synced 2024-08-02 23:40:32 +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)
|
all_custom_components = await async_get_custom_components(hass)
|
||||||
for cc_domain, cc_obj in all_custom_components.items():
|
for cc_domain, cc_obj in all_custom_components.items():
|
||||||
custom_components[cc_domain] = {
|
custom_components[cc_domain] = {
|
||||||
"version": cc_obj.manifest["version"],
|
"version": cc_obj.version,
|
||||||
"requirements": cc_obj.manifest["requirements"],
|
"requirements": cc_obj.requirements,
|
||||||
}
|
}
|
||||||
try:
|
try:
|
||||||
json_data = json.dumps(
|
json_data = json.dumps(
|
||||||
|
Loading…
Reference in New Issue
Block a user