From b30ee884a72fe39f87e75fbe80aceeba7714c2ac Mon Sep 17 00:00:00 2001 From: Zack Barett Date: Tue, 8 Sep 2020 13:57:17 -0500 Subject: [PATCH] Fix for Camera streams that don't support stream (#6863) --- src/components/ha-camera-stream.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ha-camera-stream.ts b/src/components/ha-camera-stream.ts index a8d34c8a18..51794b3ad3 100644 --- a/src/components/ha-camera-stream.ts +++ b/src/components/ha-camera-stream.ts @@ -66,7 +66,7 @@ class HaCameraStream extends LitElement { } protected updated(changedProps: PropertyValues): void { - if (changedProps.has("stateObj")) { + if (changedProps.has("stateObj") && !this._shouldRenderMJPEG) { this._forceMJPEG = undefined; this._getStreamUrl(); }