Fixed missed variables.
This commit is contained in:
+2
-2
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user