diff --git a/src/components/viewer.ts b/src/components/viewer.ts index 151b634f..7feb2c50 100644 --- a/src/components/viewer.ts +++ b/src/components/viewer.ts @@ -701,6 +701,7 @@ export class FrigateCardViewerCarousel extends FrigateCardMediaCarousel { ? html` { return this._url ? html` { } if (this.stateObj.attributes.frontend_stream_type === STREAM_TYPE_WEB_RTC) { return html` { @customElement('frigate-card-ha-hls-player') @@ -53,9 +53,15 @@ customElements.whenDefined('ha-hls-player').then(() => { // - https://github.com/home-assistant/frontend/blob/dev/src/components/ha-hls-player.ts // ===================================================================================== protected render(): TemplateResult { + if (this._error) { + // Use native Frigate card error handling, and attach the entityid to + // clarify which camera the error refers to. + return dispatchErrorMessageEvent(this, this._error); + } return html`