mirror of
https://github.com/home-assistant/core.git
synced 2025-08-02 12:15:08 +02:00
Fix supervisor get addon info (#40412)
This commit is contained in:
@@ -133,8 +133,7 @@ async def async_get_addon_info(hass: HomeAssistantType, slug: str) -> dict:
|
|||||||
The caller of the function should handle HassioAPIError.
|
The caller of the function should handle HassioAPIError.
|
||||||
"""
|
"""
|
||||||
hassio = hass.data[DOMAIN]
|
hassio = hass.data[DOMAIN]
|
||||||
result = await hassio.get_addon_info(slug)
|
return await hassio.get_addon_info(slug)
|
||||||
return result["data"]
|
|
||||||
|
|
||||||
|
|
||||||
@bind_hass
|
@bind_hass
|
||||||
|
Reference in New Issue
Block a user