From 445ae156ef9e517faf7ee85c8c9618b786f32afe Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Tue, 13 Apr 2021 08:18:37 -1000 Subject: [PATCH] Unsubscribe when dismissing during wrap up (#8909) --- src/state/disconnect-toast-mixin.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/state/disconnect-toast-mixin.ts b/src/state/disconnect-toast-mixin.ts index 09efcc3f89..98e36dea7a 100644 --- a/src/state/disconnect-toast-mixin.ts +++ b/src/state/disconnect-toast-mixin.ts @@ -96,7 +96,9 @@ export default >(superClass: T) => action: { text: this.hass!.localize("ui.notification_toast.dismiss") || "Dismiss", - action: () => {}, + action: () => { + this._unsubscribeBootstrapIntergrations(); + }, }, }); return;