Fix supervisor get addon info (#40412)

pull/40416/head
Martin Hjelmare 2020-09-21 16:26:09 +02:00 committed by GitHub
parent 4aa9b72739
commit 2ef3dfb673
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -133,8 +133,7 @@ async def async_get_addon_info(hass: HomeAssistantType, slug: str) -> dict:
The caller of the function should handle HassioAPIError.
"""
hassio = hass.data[DOMAIN]
result = await hassio.get_addon_info(slug)
return result["data"]
return await hassio.get_addon_info(slug)
@bind_hass