Add play/pause/mute/unmute Frigate card commands.

This commit is contained in:
Dermot Duffy
2023-05-11 20:25:40 -07:00
parent 2e5b86d6c9
commit 8365b43c04
23 changed files with 435 additions and 49 deletions
+4
View File
@@ -77,6 +77,10 @@ customElements.whenDefined('ha-camera-stream').then(() => {
}
}
public isPaused(): boolean {
return this._player?.isPaused() ?? true;
}
/**
* Master render method.
* @returns A rendered template.