From 45b93c045a33812a0ceebb6ac74196db3c8fdf8a Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Wed, 3 Dec 2025 23:40:07 -0500 Subject: [PATCH] Cursor: use clearTimeout --- src/panels/app/ha-panel-app.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/panels/app/ha-panel-app.ts b/src/panels/app/ha-panel-app.ts index 7b1fba1a4d..9fc894639c 100644 --- a/src/panels/app/ha-panel-app.ts +++ b/src/panels/app/ha-panel-app.ts @@ -90,7 +90,7 @@ class HaPanelApp extends LitElement { this._sessionKeepAlive = undefined; } if (this._fetchDataTimeout) { - clearInterval(this._fetchDataTimeout); + clearTimeout(this._fetchDataTimeout); this._fetchDataTimeout = undefined; } } @@ -263,7 +263,7 @@ class HaPanelApp extends LitElement { this._loadingMessage = undefined; if (this._fetchDataTimeout) { - clearInterval(this._fetchDataTimeout); + clearTimeout(this._fetchDataTimeout); this._fetchDataTimeout = undefined; }