diff --git a/src/components/ha-camera-stream.ts b/src/components/ha-camera-stream.ts
index c19ee6d71f..1a73c3c673 100644
--- a/src/components/ha-camera-stream.ts
+++ b/src/components/ha-camera-stream.ts
@@ -52,7 +52,7 @@ class HaCameraStream extends LitElement {
this.stateObj &&
(changedProps.get("stateObj") as CameraEntity | undefined)?.entity_id !==
this.stateObj.entity_id &&
- this.stateObj!.attributes.stream_type === STREAM_TYPE_HLS
+ this.stateObj!.attributes.frontend_stream_type === STREAM_TYPE_HLS
) {
this._forceMJPEG = undefined;
this._url = undefined;
@@ -84,7 +84,7 @@ class HaCameraStream extends LitElement {
.alt=${`Preview of the ${computeStateName(this.stateObj)} camera.`}
/>`;
}
- if (this.stateObj.attributes.stream_type === STREAM_TYPE_HLS && true) {
+ if (this.stateObj.attributes.frontend_stream_type === STREAM_TYPE_HLS) {
return this._url
? html` `
: html``;
}
- if (this.stateObj.attributes.stream_type === STREAM_TYPE_WEB_RTC) {
+ if (this.stateObj.attributes.frontend_stream_type === STREAM_TYPE_WEB_RTC) {
return html`