Fix reload of addon after update (#8518)

This commit is contained in:
Joakim Sørensen 2021-03-02 17:05:11 +01:00 committed by GitHub
parent 9f73f0ca8d
commit 935d97ce1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1002,9 +1002,12 @@ class HassioAddonInfo extends LitElement {
fireEvent(this, "supervisor-colllection-refresh", {
colllection: "addon",
});
fireEvent(this, "supervisor-colllection-refresh", {
colllection: "supervisor",
});
const eventdata = {
success: true,
response: undefined,
path: "update",
};
fireEvent(this, "hass-api-called", eventdata);
}
private async _startClicked(ev: CustomEvent): Promise<void> {