From d4a044b39ee1f3ef4348e6df4b64e28ae7efb890 Mon Sep 17 00:00:00 2001 From: Dermot Duffy Date: Wed, 19 Jan 2022 21:22:59 -0800 Subject: [PATCH] Fixed missed variables. --- src/card.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/card.ts b/src/card.ts index 7232cbe3..b241bb81 100644 --- a/src/card.ts +++ b/src/card.ts @@ -888,7 +888,7 @@ export class FrigateCard extends LitElement { } protected _resetInteractionTimer(): void { - if (this._getConfig().view.timeout) { + if (this._getConfig().view.timeout_seconds) { if (this._interactionTimerID) { window.clearTimeout(this._interactionTimerID); } @@ -899,7 +899,7 @@ export class FrigateCard extends LitElement { // If force is enabled, the timer just resets and starts over. this._resetInteractionTimer(); } - }, this._getConfig().view.timeout * 1000); + }, this._getConfig().view.timeout_seconds * 1000); } }