diff --git a/src/components/ha-camera-stream.ts b/src/components/ha-camera-stream.ts index 52a182d7a2..29bf3a7860 100644 --- a/src/components/ha-camera-stream.ts +++ b/src/components/ha-camera-stream.ts @@ -102,7 +102,9 @@ export class HaCameraStream extends LitElement { .entityid=${this.stateObj.entity_id} .posterUrl=${this._posterUrl} @streams=${this._handleHlsStreams} - class=${!this._streamType && this._webRtcStreams ? "hidden" : ""} + class=${!this._streamType && this._webRtcStreams?.hasVideo + ? "hidden" + : ""} >` : nothing} ${this._streamType === STREAM_TYPE_WEB_RTC ||