Fixed missed variables.

This commit is contained in:
Dermot Duffy
2022-01-19 21:22:59 -08:00
parent 656bd5439e
commit d4a044b39e
+2 -2
View File
@@ -888,7 +888,7 @@ export class FrigateCard extends LitElement {
} }
protected _resetInteractionTimer(): void { protected _resetInteractionTimer(): void {
if (this._getConfig().view.timeout) { if (this._getConfig().view.timeout_seconds) {
if (this._interactionTimerID) { if (this._interactionTimerID) {
window.clearTimeout(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. // If force is enabled, the timer just resets and starts over.
this._resetInteractionTimer(); this._resetInteractionTimer();
} }
}, this._getConfig().view.timeout * 1000); }, this._getConfig().view.timeout_seconds * 1000);
} }
} }