Initial draft of recordings support.

This commit is contained in:
Dermot Duffy
2022-06-04 11:04:38 -07:00
parent 2e80bdad0b
commit 7ebada9aa5
26 changed files with 1016 additions and 181 deletions
+2 -2
View File
@@ -975,7 +975,7 @@ export class FrigateCard extends LitElement {
* @returns A boolean indicating whether the camera was changed.
*/
protected _updateTriggeredCameras(oldHass: HomeAssistant): boolean {
if (!this._view) {
if (!this._view || !this._isAutomatedViewUpdateAllowed(true)) {
return false;
}
@@ -1001,7 +1001,7 @@ export class FrigateCard extends LitElement {
}
}
if (triggerChanges && this._isAutomatedViewUpdateAllowed(true)) {
if (triggerChanges) {
if (!this._triggers.size) {
this._changeView();
changedCamera = true;